bugfix: testset file path

This commit is contained in:
debugtalk
2018-04-20 22:05:50 +08:00
parent 0a3f5cc146
commit 8209fdc207
2 changed files with 1 additions and 5 deletions

View File

@@ -62,7 +62,7 @@ class TestSuite(unittest.TestSuite):
config_dict = testset.get("config", {})
self.output_variables_list = config_dict.get("output", [])
self.testset_file_path = config_dict["path"]
self.testset_file_path = config_dict.get("path")
config_dict_parameters = config_dict.get("parameters", [])
config_dict_variables = config_dict.get("variables", [])

View File

@@ -111,10 +111,6 @@ class TestHttpRunner(ApiServerUnittest):
testsets = [
{
"name": "post data",
"config": {
"path": ""
},
"testcases": [
{
"name": "post data",