We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12cf877 commit b17b7bcCopy full SHA for b17b7bc
tests/conftest.py
@@ -15,7 +15,7 @@
15
16
pytest_plugins = "pytester"
17
18
-REPOSITORY_ROOT = pathlib.Path(__file__).parent
+REPOSITORY_ROOT = pathlib.Path(__file__).parent.parent
19
20
21
def pytest_configure(config: pytest.Config) -> None:
@@ -128,7 +128,7 @@ def django_pytester(
128
129
tpkg_path.joinpath("__init__.py").touch()
130
131
- app_source = REPOSITORY_ROOT / "../pytest_django_test/app"
+ app_source = REPOSITORY_ROOT / "pytest_django_test/app"
132
test_app_path = tpkg_path / "app"
133
134
# Copy the test app to make it available in the new test run
0 commit comments