Fix #2114 - Cleanup the test folder + automation (#2143)

* Fix #2114 - Cleanup the test folder + automation
* Merged both test and tests into a single folder
This commit is contained in:
Andrea Giammarchi
2024-08-08 17:08:59 +02:00
committed by GitHub
parent f4c4edeb29
commit 9f46234f71
104 changed files with 193 additions and 221 deletions

View File

@@ -17,7 +17,7 @@ from playwright.sync_api import Error as PlaywrightError
ROOT = py.path.local(__file__).dirpath("..", "..", "..")
BUILD = ROOT.join("pyscript.core").join("dist")
TEST = ROOT.join("pyscript.core").join("test")
TEST = ROOT.join("pyscript.core").join("tests")
def params_with_marks(params):
@@ -212,7 +212,7 @@ class PyScriptTest:
tmpdir.join("dist").mksymlinkto(BUILD)
# create a symlink to TEST inside tmpdir so we can run tests in that
# manual test folder
tmpdir.join("test").mksymlinkto(TEST)
tmpdir.join("tests").mksymlinkto(TEST)
# create a symlink to the favicon, so that we can use it in the HTML
self.tmpdir.chdir()