mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 10:39:40 +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):
|
||||
|
||||
testset_path = testset_path.strip('/')
|
||||
testset_path = testset_path.rstrip('/')
|
||||
task_suite = create_task(testset_path)
|
||||
|
||||
output_folder_name = os.path.basename(os.path.splitext(testset_path)[0])
|
||||
|
||||
Reference in New Issue
Block a user