Skip to content

Commit 406421f

Browse files
committed
fix: syntax accounts for new directories conftest is copied into during ci
1 parent be6ecda commit 406421f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
def _get_test_files_directory():
5757
if local_test_repo is False:
5858
test_path = Path(__file__).parent
59-
return str(test_path.joinpath("testfiles"))
59+
return str(test_path.parent / "tests" / "testfiles")
6060
else:
6161
return str(Path(os.environ["AWP_UNIT_TEST_FILES"]).joinpath("python"))
6262

tests/entry/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
def _get_test_files_directory():
5757
if local_test_repo is False:
5858
test_path = Path(__file__).parent
59-
return str(test_path.joinpath("testfiles"))
59+
return str(test_path.parent / "testfiles")
6060
else:
6161
return str(Path(os.environ["AWP_UNIT_TEST_FILES"]).joinpath("python"))
6262

0 commit comments

Comments
 (0)