def test_5_didsend_asset_from(self):
     # account password match error
     ec, message = mvs_rpc.didsend_asset_from(Alice.name,
                                              Alice.password + '1',
                                              Alice.mainaddress(),
                                              Zac.mainaddress(),
                                              Alice.asset_symbol, 10**5,
                                              10**4)
     self.assertEqual(ec, 1000, message)
Пример #2
0
 def didsend_asset_from(self, from_, to_, amount, symbol):
     result, message = mvs_rpc.didsend_asset_from(self.name, self.password, from_, to_, symbol, amount)
     assert (result == 0)
     return message["hash"]