def test_is_valid_pincode_with_invalid_pincode(self):
     a = Address("Dollar street, Bangalore", "Karnataka", 5601020)
     self.assertFalse(a.is_valid_pincode())
Пример #2
0
 def test_is_valid_pincode_with_invalid_pincode(self):
     a = Address("Dollar street, Bangalore", "Karnataka", 5601020)
     self.assertFalse(a.is_valid_pincode())
 def test_is_valid_pincode_with_blr_pincode(self):
     a = Address("Dollar street, Bangalore", "Karnataka", "560102")
     self.assertTrue(a.is_valid_pincode())
Пример #4
0
 def test_is_valid_pincode_with_blr_pincode(self):
     a = Address("Dollar street, Bangalore", "Karnataka", "560102")
     self.assertTrue(a.is_valid_pincode())