Commit b8e38160 authored by Jan Reimes's avatar Jan Reimes
Browse files

feat(tests): add custom pytest markers for integration tests

* Introduced a new marker for integration tests that require network access.
* This helps in categorizing and managing test execution more effectively.
parent 66cb8cf7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -66,6 +66,10 @@ tdoc-crawler = "tdoc_crawler.cli:app"
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
# Register custom pytest marks
markers = [
    "integration: marks tests as integration tests (slower, requires network)",
]
# Suppress Pydantic deprecation warning from pydantic-sqlite library (external dependency)
filterwarnings = [
    "ignore:.*Accessing the 'model_fields' attribute on the instance is deprecated.*:DeprecationWarning",