def test_get_unspent_test_unused(self): assert len( BitcoreAPI.get_unspent(TEST_ADDRESS_UNUSED, network="testnet")) == 0
def test_get_unspent_main_unused(self): assert len( BitcoreAPI.get_unspent(MAIN_ADDRESS_UNUSED, network="mainnet")) == 0
def test_get_unspent_main_used(self): assert len(BitcoreAPI.get_unspent(MAIN_ADDRESS_USED2)) >= 1
def test_get_unspent_return_type(self): assert iter( BitcoreAPI.get_unspent(MAIN_ADDRESS_USED1, network="mainnet"))
def test_get_unspent_return_type(self): assert iter(BitcoreAPI.get_unspent(MAIN_ADDRESS_USED1))