mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-09 01:39:39 +08:00
change validators from dict to list, as there may be several tests on one filed
This commit is contained in:
@@ -16,7 +16,7 @@ class ApiTestCase(unittest.TestCase):
|
||||
""" run testcase and check result.
|
||||
"""
|
||||
result = self.test_runner.run_test(self.testcase)
|
||||
self.assertEqual(result, (True, {}))
|
||||
self.assertEqual(result, (True, []))
|
||||
|
||||
def create_suite(testset):
|
||||
""" create test suite with a testset, it may include one or several testcases.
|
||||
|
||||
Reference in New Issue
Block a user