예제 #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)