Skip to content

Commit b17b7bc

Browse files
committed
tests: make variable faithful to its name
1 parent 12cf877 commit b17b7bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
pytest_plugins = "pytester"
1717

18-
REPOSITORY_ROOT = pathlib.Path(__file__).parent
18+
REPOSITORY_ROOT = pathlib.Path(__file__).parent.parent
1919

2020

2121
def pytest_configure(config: pytest.Config) -> None:
@@ -128,7 +128,7 @@ def django_pytester(
128128

129129
tpkg_path.joinpath("__init__.py").touch()
130130

131-
app_source = REPOSITORY_ROOT / "../pytest_django_test/app"
131+
app_source = REPOSITORY_ROOT / "pytest_django_test/app"
132132
test_app_path = tpkg_path / "app"
133133

134134
# Copy the test app to make it available in the new test run

0 commit comments

Comments
 (0)