File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,14 +12,13 @@ def test_smoke_keystore_address(self):
1212
1313 address = ks .address
1414 self .assertTrue (isinstance (address , dcp .wallet .Address ))
15- self .assertTrue (address .eq (address .address ))
15+ self .assertTrue (address .eq (address .toString () ))
1616
1717 def test_smoke_async_get (self ):
1818 ks1 = dcp .wallet .get ()
1919 ks2 = asyncio .run (dcp .wallet .aio .get ())
2020
21- # TODO: we can't pass the address in since ks2.address is python... need to fix.
22- self .assertTrue (ks1 .address .eq (ks2 .address .address ))
21+ self .assertTrue (ks1 .address .eq (ks2 .address ))
2322
2423
2524if __name__ == '__main__' :
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ def test_wrapping_js_instance(self):
9595 address = pm .new (Address )(hex_code )
9696 py_obj = class_manager .wrap_obj (address )
9797
98- self .assertTrue (py_obj .address == hex_code )
98+ self .assertTrue (py_obj .eq ( hex_code ) )
9999
100100 self .assertTrue (isinstance (py_obj , dcp .wallet .Address ))
101101
You can’t perform that action at this time.
0 commit comments