示例#1
0
 def test_get_unspent_test_unused(self):
     assert (len(
         BitcoinDotComAPI.get_unspent(TEST_ADDRESS_UNUSED,
                                      network="testnet")) == 0)
示例#2
0
 def test_get_unspent_return_type(self):
     assert iter(
         BitcoinDotComAPI.get_unspent(MAIN_ADDRESS_USED1,
                                      network="mainnet"))
示例#3
0
 def test_get_unspent_main_unused(self):
     assert (len(
         BitcoinDotComAPI.get_unspent(MAIN_ADDRESS_UNUSED,
                                      network="mainnet")) == 0)
示例#4
0
 def test_get_unspent_main_unused(self):
     assert len(BitcoinDotComAPI.get_unspent(MAIN_ADDRESS_UNUSED)) == 0