Ejemplo n.º 1
0
 def didsend_asset(self, to_, amount, symbol):
     result, message = mvs_rpc.didsend_asset(self.name, self.password, to_, symbol, amount)
     assert (result == 0)
     return message["hash"]
 def test_4_didsend_asset(self):
     # account password match error
     ec, message = mvs_rpc.didsend_asset(Alice.name, Alice.password + '1',
                                         Zac.mainaddress(),
                                         Alice.asset_symbol, 10**5, 10**4)
     self.assertEqual(ec, 1000, message)