fix #131: parameter data driven with pair keys

This commit is contained in:
debugtalk
2018-03-27 22:39:43 +08:00
parent ede7d66eaa
commit 2081a34b57
5 changed files with 23 additions and 9 deletions

View File

@@ -165,5 +165,5 @@ class TestRunner(ApiServerUnittest):
os.getcwd(), 'tests/data/demo_parameters.yml')
result = HttpRunner(testcase_file_path).run()
self.assertTrue(result["success"])
self.assertEqual(len(result["output"]), 3 * 2)
self.assertEqual(result["stat"]["testsRun"], 3 * 2)
self.assertEqual(len(result["output"]), 3 * 2 * 2)
self.assertEqual(result["stat"]["testsRun"], 3 * 2 * 2)