mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-03 06:49:38 +08:00
group exceptions to 2 types: failure and error
This commit is contained in:
@@ -66,7 +66,7 @@ class TestRunner(ApiServerUnittest):
|
||||
]
|
||||
}
|
||||
|
||||
with self.assertRaises(exception.ValidationError):
|
||||
with self.assertRaises(exception.ValidationFailure):
|
||||
self.test_runner.run_test(test)
|
||||
|
||||
def test_run_testset_with_hooks(self):
|
||||
|
||||
Reference in New Issue
Block a user