예제 #1
0
 def test_satisfies_fail(self):
     country = Country()
     self.assertFalse(country.satisfies(Query()))
예제 #2
0
 def test_satisfies(self):
     country = Country(
         country_code='DE', country_name='Germany', accuracy=100000.0)
     self.assertTrue(country.satisfies(Query()))