Skip to content

Commit 09bbcd9

Browse files
committed
test
1 parent a72fcfc commit 09bbcd9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/identity/test_address.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,7 @@ def test_address_from_private_key(identity):
1313
def test_address_from_passphrase(identity):
1414
address = Address.from_passphrase(identity['passphrase'])
1515
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

Comments
 (0)