From d086f26a2d302efb8065056c3a7be850b7b8da25 Mon Sep 17 00:00:00 2001 From: Super <1171089625@qq.com> Date: Mon, 30 Oct 2023 11:02:56 +0800 Subject: [PATCH] commit --- public/tools.py | 2 +- testcase/test_scene1/scene3_mainflow.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/tools.py b/public/tools.py index 4e28a74..dc8bb51 100644 --- a/public/tools.py +++ b/public/tools.py @@ -134,7 +134,7 @@ def get_pro_path(): curPath = os.path.abspath(os.path.dirname(__file__)) # 获取当前文件的所在目录的绝对路径 # print(curPath) # C:\Users\xhs\Desktop\dbshop项目相关文档2\dbshop1\main # #将当前文件的所在目录的绝对路径进行分离,分离成C:\Users\xhs\Desktop\dbshop项目相关文档2\dbshop1 和main,存到元组中 - print(os.path.split(curPath)) + # print(os.path.split(curPath)) rootPath = os.path.split(curPath)[0] # [0]表示元组中的为一个元素 # print('当前项目的根目录', rootPath) return rootPath diff --git a/testcase/test_scene1/scene3_mainflow.py b/testcase/test_scene1/scene3_mainflow.py index d8a5d78..88e19ab 100644 --- a/testcase/test_scene1/scene3_mainflow.py +++ b/testcase/test_scene1/scene3_mainflow.py @@ -228,7 +228,7 @@ class SalesOrder(): if __name__ == '__main__': try: - step1 = LoginSys1() + step1 = LoginSys() step2_1 = QuickPurchase() step2_2 = PurchaseOrder() step3 = SalesOrder() -- GitLab