Skip to content

Commit ddf1eb1

Browse files
committed
fix(pytest): add pythonpath to resolve ModuleNotFoundError
1 parent a2200e7 commit ddf1eb1

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,11 @@ line-ending = "auto"
7373
[tool.pytest.ini_options]
7474
testpaths = ["tests"]
7575
python_files = ["test_*.py", "*_test.py"]
76-
addopts = ["-ra", "-q"]
76+
addopts = ["-ra"]
77+
filterwarnings = [
78+
"ignore:Using extra keyword arguments on `Field` is deprecated:pydantic.warnings.PydanticDeprecatedSince20",
79+
]
80+
pythonpath = ["."]
7781

7882
[tool.pyright]
7983
include = ["*.py", "models", "tests"]

0 commit comments

Comments
 (0)