diff --git a/Lib/TestcaseBasicLibrary.py b/Lib/TestcaseBasicLibrary.py deleted file mode 100644 index ab88e65..0000000 --- a/Lib/TestcaseBasicLibrary.py +++ /dev/null @@ -1,5 +0,0 @@ -from Lib.LoadConf import * -from Lib.LoadData import * -from Lib.Logger import * -import pytest -import allure diff --git a/Testcase/test_logger.py b/Testcase/test_logger.py index 24bf601..b60f3b8 100644 --- a/Testcase/test_logger.py +++ b/Testcase/test_logger.py @@ -1,4 +1,4 @@ -from Lib.TestcaseBasicLibrary import * +from Tools.TestcaseBasicLibrary import * from Pom.Home.Signin import * diff --git a/Testcase/test_signin.py b/Testcase/test_signin.py index d5d5bbf..3709ed9 100644 --- a/Testcase/test_signin.py +++ b/Testcase/test_signin.py @@ -1,4 +1,4 @@ -from Lib.TestcaseBasicLibrary import * +from Tools.TestcaseBasicLibrary import * from Pom.Home.Signin import * diff --git a/Testcase/test_signup.py b/Testcase/test_signup.py index 9f8632b..b1314d0 100644 --- a/Testcase/test_signup.py +++ b/Testcase/test_signup.py @@ -1,4 +1,4 @@ -from Lib.TestcaseBasicLibrary import * +from Tools.TestcaseBasicLibrary import * from Pom.Home.Signup import * diff --git a/Lib/LoadConf.py b/Tools/LoadConf.py similarity index 100% rename from Lib/LoadConf.py rename to Tools/LoadConf.py diff --git a/Lib/LoadData.py b/Tools/LoadData.py similarity index 100% rename from Lib/LoadData.py rename to Tools/LoadData.py diff --git a/Tools/TestcaseBasicLibrary.py b/Tools/TestcaseBasicLibrary.py new file mode 100644 index 0000000..76693ec --- /dev/null +++ b/Tools/TestcaseBasicLibrary.py @@ -0,0 +1,5 @@ +from Tools.LoadConf import * +from Tools.LoadData import * +from Lib.Logger import * +import pytest +import allure diff --git a/pytest.ini b/pytest.ini index 0191b30..ad16efd 100644 --- a/pytest.ini +++ b/pytest.ini @@ -4,7 +4,7 @@ addopts = -vs --strict-markers --reruns=0 --reruns-delay=1 log_cli = 1 pythonpath = ./ cache_dir = pytest_cache -norecursedirs = .* allure* venv po pom lib library build +norecursedirs = .* allure* venv po pom lib library testlibs build markers = p0: P0 level testcase p1: P1 level testcase