add unit test and closes #971

This commit is contained in:
jun
2020-07-28 12:49:26 +08:00
parent ac9664e842
commit fa30ce3bc7
5 changed files with 70 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ class TestLoader(unittest.TestCase):
self.assertEqual(
testcase_obj.config.name, "request methods testcase with variables"
)
self.assertEqual(len(testcase_obj.teststeps), 3)
self.assertEqual(len(testcase_obj.teststeps), 4)
def test_load_json_file_file_format_error(self):
json_tmp_file = "tmp.json"