Beispiel #1
0
 def test_location_not_allowed(self):
     contract = Contract(self.contract_data)
     result = contract.location_allowed("Mexico")
     self.assertFalse(result)
Beispiel #2
0
 def test_location_allowed(self):
     contract = Contract(self.contract_data)
     result = contract.location_allowed("USA")
     self.assertTrue(result)