fix: use importlib import mode to resolve test module name collisions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Justin Visser 2026-02-26 22:07:58 +01:00
parent fa56168fb1
commit 399276ea69

View file

@ -30,7 +30,7 @@ dev = [
] ]
[tool.pytest.ini_options] [tool.pytest.ini_options]
addopts = "-q -m \"not integration\"" addopts = "-q -m \"not integration\" --import-mode=importlib"
asyncio_mode = "auto" asyncio_mode = "auto"
testpaths = ["tests"] testpaths = ["tests"]
markers = [ markers = [