Skip to content

Commit

Permalink
fix unit tests as we derive actual addresses according to backend (fo…
Browse files Browse the repository at this point in the history
…r sorting of pubkeys)
  • Loading branch information
xeroc committed Aug 6, 2018
1 parent 99c5c15 commit 090dc19
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions tests/test_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,12 @@ def test_PubKey(self):
format(PublicKey("BTS6676cZ9qmqPnWMrm4McjCuHcnt6QW5d8oRJ4t8EDH8DdCjvh4V", prefix="BTS").address, "BTS"),
format(PublicKey("BTS7u8m6zUNuzPNK1tPPLtnipxgqV9mVmTzrFNJ9GvovvSTCkVUra", prefix="BTS").address, "BTS")
], [
'BTSDXi9tQ6Pjf1SEv3m4jn2U5M2YgMPpHy2V',
'BTSQ1AEncFQ9ddRU1jfrieomX8RgTnSGgUwj',
'BTSBkT8dGRrbbYpqCXovCBoZDNiVq3XXMyLG',
'BTS3U2ok8z392o6BXYu75PGxohEH9boCx3dy',
'BTSCpkigUBxSLfK2Ldgah9QpoLFftL11k8wW'])
'BTS66FCjYKzMwLbE3a59YpmFqA9bwporT4L3',
'BTSKNpRuPX8KhTBsJoFp1JXd7eQEsnCpRw3k',
'BTS838ENJargbUrxXWuE2xD9HKjQaS17GdCd',
'BTSNsrLFWTziSZASnNJjWafFtGBfSu8VG8KU',
'BTSDjAGuXzk3WXabBEgKKc8NsuQM412boBdR'])


def test_btsprivkey(self):
self.assertEqual([format(PrivateKey("5HqUkGuo62BfcJU5vNhTXKJRXuUi9QSE6jp8C3uBJ2BVHtB8WSd").address, "BTS"),
Expand Down

0 comments on commit 090dc19

Please sign in to comment.