replace SuiteNotFound with TestcaseNotFound

This commit is contained in:
debugtalk
2018-08-05 23:55:50 +08:00
parent acc8657a6f
commit 68435a8102
3 changed files with 4 additions and 7 deletions

View File

@@ -231,7 +231,7 @@ class TestSuiteLoader(unittest.TestCase):
api_def = loader._get_test_definition("create_and_check", "suite")
self.assertEqual(api_def["config"]["name"], "create user and check result.")
with self.assertRaises(exceptions.SuiteNotFound):
with self.assertRaises(exceptions.TestcaseNotFound):
loader._get_test_definition("create_and_check_XXX", "suite")
def test_merge_validator(self):