fix unittest for Python2.7

This commit is contained in:
httprunner
2018-08-22 18:40:05 +08:00
parent d0cd1ddfa7
commit bd78fc813f
2 changed files with 1 additions and 2 deletions

View File

@@ -322,7 +322,7 @@ class TestHttpRunner(ApiServerUnittest):
summary = runner.summary
self.assertTrue(summary["success"])
self.assertIn("token", summary["details"][0]["in_out"]["out"])
self.assertEqual(len(summary["details"][0]["in_out"]["in"]), 9)
self.assertGreater(len(summary["details"][0]["in_out"]["in"]), 7)
def test_run_testset_with_parameters(self):
testcase_file_path = os.path.join(