mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 10:31:50 +01:00
test: Add comprehensive test suite for extract.py (#400)
This commit is contained in:
@@ -222,7 +222,14 @@ max-positional-arguments = 6 # max. number of positional args for function / me
|
||||
# https://docs.pytest.org/en/stable/reference.html#confval-addopts
|
||||
addopts = "--strict-markers -p no:cacheprovider --doctest-modules --cov=kleinanzeigen_bot --cov-report=term-missing --ignore=kleinanzeigen_bot/__main__.py"
|
||||
markers = [
|
||||
"itest: marks a test as an integration test (i.e. a test with external dependencies)"
|
||||
"itest: marks a test as an integration test (i.e. a test with external dependencies)",
|
||||
"asyncio: mark test as async"
|
||||
]
|
||||
asyncio_mode = "auto"
|
||||
asyncio_default_fixture_loop_scope = "function"
|
||||
filterwarnings = [
|
||||
"ignore:Exception ignored in:pytest.PytestUnraisableExceptionWarning",
|
||||
"ignore::DeprecationWarning"
|
||||
]
|
||||
|
||||
[dependency-groups]
|
||||
@@ -231,7 +238,8 @@ dev = [
|
||||
"bandit",
|
||||
"toml",
|
||||
"tomli",
|
||||
"pytest",
|
||||
"pytest>=8.3.4",
|
||||
"pytest-asyncio>=0.25.3",
|
||||
"pytest-rerunfailures",
|
||||
"pyinstaller",
|
||||
"pylint",
|
||||
|
||||
Reference in New Issue
Block a user