Пример #1
0
 def test_value_comparison_formatted_fail(self):
     try:
         check.check_value_comparison("testArg", "(>0||<0)&&!=10", 10)
     except AssertionError:
         pass
     else:
         self.fail("should have thrown AssertionError")
Пример #2
0
 def test_value_comparison_lte_fail(self):
     try:
         check.check_value_comparison("testArg", "<=5", 6)
     except AssertionError:
         pass
     else:
         self.fail("should have thrown AssertionError")
Пример #3
0
 def test_value_comparison_formatted(self):
     check.check_value_comparison("testArg", "(>0||<0)&&!=10", -10)
Пример #4
0
 def test_value_comparison_lte(self):
     check.check_value_comparison("testArg", "<=5", 5)
Пример #5
0
 def test_value_comparison_lt(self):
     check.check_value_comparison("testArg", "<5", 0)
Пример #6
0
 def test_value_comparison_gt(self):
     check.check_value_comparison("testArg", ">5", 10)