Loading test/unit/app/tools/test_parameter_validation.py +2 −2 Original line number Diff line number Diff line Loading @@ -217,11 +217,11 @@ class TestParameterValidation(BaseParameterTestCase): ) p.validate(10) with self.assertRaisesRegex( ValueError, r"Parameter blah: Value \('15'\) must not fulfill float\('10'\) < float(value) <= float\('20'\)" ValueError, r"Parameter blah: Value \('15'\) must not fulfill float\('10'\) < float\(value\) <= float\('20'\)" ): p.validate(15) with self.assertRaisesRegex( ValueError, r"Parameter blah: Value \('20'\) must not fulfill float\('10'\) < float(value) <= float\('20'\)" ValueError, r"Parameter blah: Value \('20'\) must not fulfill float\('10'\) < float\(value\) <= float\('20'\)" ): p.validate(20) p.validate(21) Loading Loading
test/unit/app/tools/test_parameter_validation.py +2 −2 Original line number Diff line number Diff line Loading @@ -217,11 +217,11 @@ class TestParameterValidation(BaseParameterTestCase): ) p.validate(10) with self.assertRaisesRegex( ValueError, r"Parameter blah: Value \('15'\) must not fulfill float\('10'\) < float(value) <= float\('20'\)" ValueError, r"Parameter blah: Value \('15'\) must not fulfill float\('10'\) < float\(value\) <= float\('20'\)" ): p.validate(15) with self.assertRaisesRegex( ValueError, r"Parameter blah: Value \('20'\) must not fulfill float\('10'\) < float(value) <= float\('20'\)" ValueError, r"Parameter blah: Value \('20'\) must not fulfill float\('10'\) < float\(value\) <= float\('20'\)" ): p.validate(20) p.validate(21) Loading