@@ -119,27 +119,25 @@ async def async_test(self):
119
119
assert_in ("Success" , await wallet .sync ())
120
120
121
121
122
- # TODO: add support for tokens v1
123
- # See https://github.com/mintlayer/mintlayer-core/issues/1237
124
- #self.log.info(await wallet.get_balance())
125
- #assert_in(f"{nft_id} amount: 1", await wallet.get_balance())
126
-
127
- ## create a new account and send some tokens to it
128
- #await wallet.create_new_account()
129
- #await wallet.select_account(1)
130
- #address = await wallet.new_address()
131
-
132
- #await wallet.select_account(0)
133
- #assert_in(f"{nft_id} amount: 1", await wallet.get_balance())
134
- #output = await wallet.send_tokens_to_address(nft_id, address, 1)
135
- #self.log.info(output)
136
- #assert_in("The transaction was submitted successfully", output)
137
-
138
- #self.generate_block()
139
- #assert_in("Success", await wallet.sync())
140
-
141
- ## check the new balance nft is not present
142
- #assert nft_id not in await wallet.get_balance()
122
+ self .log .info (await wallet .get_balance ())
123
+ assert_in (f"{ nft_id } amount: 1" , await wallet .get_balance ())
124
+
125
+ # create a new account and send some tokens to it
126
+ await wallet .create_new_account ()
127
+ await wallet .select_account (1 )
128
+ address = await wallet .new_address ()
129
+
130
+ await wallet .select_account (0 )
131
+ assert_in (f"{ nft_id } amount: 1" , await wallet .get_balance ())
132
+ output = await wallet .send_tokens_to_address (nft_id , address , 1 )
133
+ self .log .info (output )
134
+ assert_in ("The transaction was submitted successfully" , output )
135
+
136
+ self .generate_block ()
137
+ assert_in ("Success" , await wallet .sync ())
138
+
139
+ # check the new balance nft is not present
140
+ assert nft_id not in await wallet .get_balance ()
143
141
144
142
if __name__ == '__main__' :
145
143
WalletNfts ().main ()
0 commit comments