We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a72fcfc commit 09bbcd9Copy full SHA for 09bbcd9
tests/identity/test_address.py
@@ -13,3 +13,7 @@ def test_address_from_private_key(identity):
13
def test_address_from_passphrase(identity):
14
address = Address.from_passphrase(identity['passphrase'])
15
assert address == identity['data']['address']
16
+
17
+def test_it_should_validate_the_address(identity):
18
+ assert Address.validate(identity['data']['address']) is True
19
+ assert Address.validate(identity['data']['address'][2:]) is False
0 commit comments