aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/agl_test_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/agl_test_base.py')
-rw-r--r--plugins/agl_test_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/agl_test_base.py b/plugins/agl_test_base.py
index a6bcff9..3a0bab4 100644
--- a/plugins/agl_test_base.py
+++ b/plugins/agl_test_base.py
@@ -27,10 +27,10 @@ class AGLBaseTest:
return conf.get_log_file(self.name)
def get_workdir(self):
- return conf.WORK_DIR + self.name + "/resource/"
+ return conf.WORK_DIR + self.name.replace('-','_') + "/resource/"
def get_spec_path(self):
- return conf.WORK_DIR + self.name + "/spec.json"
+ return conf.WORK_DIR + self.name.replace('-','_') + "/spec.json"
def append_one_caseinfo(name, value, status):
self.case_info_list[name] = [name, value, status]