def test_get_unspent_main_used_too_many(self): with pytest.raises(bit.exceptions.ExcessiveAddress): BlockchainAPI.get_unspent(MAIN_ADDRESS_USED3)
def test_get_unspent_main_unused(self): assert len(BlockchainAPI.get_unspent(MAIN_ADDRESS_UNUSED)) == 0
def test_get_unspent_return_type(self): assert iter(BlockchainAPI.get_unspent(MAIN_ADDRESS_USED1))