

def test_invalid_validate(self):
    address = shippo.Address.create(**NOT_POSSIBLE_ADDRESS)
    self.assertEqual(address.object_state, 'VALID')
    address = shippo.Address.validate(address.object_id)
    self.assertEqual(address.object_source, 'VALIDATOR')
    self.assertEqual(address.object_state, 'INVALID')

dataset/ETHPy150Open goshippo/shippo-python-client/shippo/test/test_address.py AddressTests.test_invalid_validate/original