From 834eea52d50bc014d97eda61effd676c5a7556b1 Mon Sep 17 00:00:00 2001 From: debugtalk Date: Sun, 14 Jun 2020 23:04:46 +0800 Subject: [PATCH] fix: compatibility with different path separators of Linux and Windows --- httprunner/make.py | 1 + 1 file changed, 1 insertion(+) diff --git a/httprunner/make.py b/httprunner/make.py index ab9b96ec..55ee1070 100644 --- a/httprunner/make.py +++ b/httprunner/make.py @@ -64,6 +64,7 @@ if __name__ == "__main__": def __ensure_absolute(path: Text) -> Text: + path = ensure_path_sep(path) project_meta = load_project_meta(path) if os.path.isabs(path):