def test_region_pass(self): response = {} self.assertTrue(Validate.region(response))
def test_region_fail(self): response = {'regionRestriction': {'blocked': ['GB']}} self.assertFalse(Validate.region(response))