mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-28 19:47:14 +08:00
fix: Absolute file path in *Nix system start with slash. The heading slash should not be striped in this case.
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ def main_ate():
|
|||||||
|
|
||||||
for testset_path in set(args.testset_paths):
|
for testset_path in set(args.testset_paths):
|
||||||
|
|
||||||
testset_path = testset_path.strip('/')
|
testset_path = testset_path.rstrip('/')
|
||||||
task_suite = create_task(testset_path)
|
task_suite = create_task(testset_path)
|
||||||
|
|
||||||
output_folder_name = os.path.basename(os.path.splitext(testset_path)[0])
|
output_folder_name = os.path.basename(os.path.splitext(testset_path)[0])
|
||||||
|
|||||||
Reference in New Issue
Block a user