Esempio n. 1
0
 def test_is_equal_with_decimal(self):
     self._load_test_data()
     number = "10.0"
     validator = Notequal(self.validation)
     assert validator.is_valid(number)
 def test_is_equal_with_decimal(self):
     self._load_test_data()
     number = "10.0"
     validator = Notequal(self.validation)
     assert validator.is_valid(number)
Esempio n. 3
0
 def test_is_not_equal(self):
     self._load_test_data()
     number = "1"
     validator = Notequal(self.validation)
     assert validator.is_valid(number) == False
 def test_is_not_equal(self):
     self._load_test_data()
     number = "1"
     validator = Notequal(self.validation)
     assert validator.is_valid(number) == False