Exemplo n.º 1
0
 def test_get_balance_main_unused(self):
     assert BlockrAPI.get_balance(MAIN_ADDRESS_UNUSED) == 0
Exemplo n.º 2
0
 def test_get_balance_return_type(self):
     assert isinstance(BlockrAPI.get_balance(MAIN_ADDRESS_USED1), int)
     assert isinstance(BlockrAPI.get_balance_testnet(TEST_ADDRESS_USED1),
                       int)