diff --git a/tests/hdwallet/test_from_private_key.py b/tests/hdwallet/test_from_private_key.py index 7ab9451..4251a0e 100644 --- a/tests/hdwallet/test_from_private_key.py +++ b/tests/hdwallet/test_from_private_key.py @@ -47,7 +47,7 @@ def test_from_private_key(): assert hdwallet.public_key() == _["bitcoin"]["mainnet"]["public_key"] assert hdwallet.wif() == _["bitcoin"]["mainnet"]["wif"] assert hdwallet.finger_print() == _["bitcoin"]["mainnet"]["finger_print"] - assert hdwallet.semantic() == _["bitcoin"]["mainnet"]["semantic"] + assert hdwallet.semantic() is None assert hdwallet.path() == None assert hdwallet.hash() == _["bitcoin"]["mainnet"]["hash"] assert hdwallet.p2pkh_address() == _["bitcoin"]["mainnet"]["addresses"]["p2pkh"] @@ -71,6 +71,7 @@ def test_from_private_key(): dumps["root_xpublic_key"] = None dumps["xprivate_key"] = None dumps["xpublic_key"] = None + dumps["semantic"] = None dumps["chain_code"] = None dumps["path"] = None del dumps["root_xprivate_key_hex"] diff --git a/tests/hdwallet/test_from_public_key.py b/tests/hdwallet/test_from_public_key.py index bdf5c7c..214857f 100644 --- a/tests/hdwallet/test_from_public_key.py +++ b/tests/hdwallet/test_from_public_key.py @@ -50,7 +50,7 @@ def test_from_public_key(): assert hdwallet.public_key(compressed=False, private_key=_["bitcoin"]["testnet"]["private_key"]) == _["bitcoin"]["testnet"]["uncompressed"] assert hdwallet.wif() is None assert hdwallet.finger_print() == _["bitcoin"]["testnet"]["finger_print"] - assert hdwallet.semantic() == _["bitcoin"]["testnet"]["semantic"] + assert hdwallet.semantic() is None assert hdwallet.path() == None assert hdwallet.hash() == _["bitcoin"]["testnet"]["hash"] assert hdwallet.p2pkh_address() == _["bitcoin"]["testnet"]["addresses"]["p2pkh"] @@ -74,6 +74,7 @@ def test_from_public_key(): dumps["root_xpublic_key"] = None dumps["xprivate_key"] = None dumps["xpublic_key"] = None + dumps["semantic"] = None dumps["chain_code"] = None dumps["private_key"] = None dumps["wif"] = None diff --git a/tests/hdwallet/test_from_wif.py b/tests/hdwallet/test_from_wif.py index 65c112f..8a4d3a0 100644 --- a/tests/hdwallet/test_from_wif.py +++ b/tests/hdwallet/test_from_wif.py @@ -47,7 +47,7 @@ def test_from_wallet_important_format(): assert hdwallet.public_key() == _["bitcoin"]["mainnet"]["public_key"] assert hdwallet.wif() == _["bitcoin"]["mainnet"]["wif"] assert hdwallet.finger_print() == _["bitcoin"]["mainnet"]["finger_print"] - assert hdwallet.semantic() == _["bitcoin"]["mainnet"]["semantic"] + assert hdwallet.semantic() is None assert hdwallet.path() == None assert hdwallet.hash() == _["bitcoin"]["mainnet"]["hash"] assert hdwallet.p2pkh_address() == _["bitcoin"]["mainnet"]["addresses"]["p2pkh"] @@ -71,6 +71,7 @@ def test_from_wallet_important_format(): dumps["root_xpublic_key"] = None dumps["xprivate_key"] = None dumps["xpublic_key"] = None + dumps["semantic"] = None dumps["chain_code"] = None dumps["path"] = None del dumps["root_xprivate_key_hex"]