Exemplo n.º 1
0
 def test_region_pass(self):
     response = {}
     self.assertTrue(Validate.region(response))
Exemplo n.º 2
0
 def test_region_fail(self):
     response = {'regionRestriction': {'blocked': ['GB']}}
     self.assertFalse(Validate.region(response))