Skip to content

Commit 4553aca

Browse files
committed
tests: add workaround for pkgcraft sourcing issues
1 parent 5dd92bc commit 4553aca

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
from pkgcraft.error import InvalidRepo
1717

1818
DATADIR = Path(__file__).parent.parent / "testdata"
19+
# TODO: drop this when pkgcraft source handling is reworked
20+
os.environ["PKGCRAFT_TEST"] = "1"
1921

2022

2123
@pytest.fixture(scope="session")

0 commit comments

Comments
 (0)