mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-14 12:07:41 +08:00
add unit test and closes #971
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user