Skip to content

Commit 16321c2

Browse files
authored
Fix ModuleNotFoundError: add pythonpath to pytest config
1 parent 45332ed commit 16321c2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ target-version = "py39"
4747
[tool.pytest.ini_options]
4848
asyncio_mode = "auto"
4949
testpaths = ["tests"]
50+
pythonpath = ["."]
5051
markers = [
5152
"integration: marks tests that call real Azure APIs (deselect with '-m \"not integration\"')",
5253
"live: marks tests requiring live Foundry endpoint (deselect with '-m \"not live\"')",

0 commit comments

Comments
 (0)