mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-09 06:23:52 +08:00
Merge pull request #41 from vlaw/fix_abs_path
fix: Absolute file path in *Nix system start with slash. The heading …
This commit is contained in:
@@ -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