Skip to content

Commit 887eef8

Browse files
committed
test: add pytest-timeout with a 20 second hard timeout
1 parent c056f28 commit 887eef8

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

poetry.lock

Lines changed: 15 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ codespell = "*"
4646
pyshark = "^0.6"
4747
aioresponses = "^0.7.7"
4848
freezegun = "^1.5.1"
49+
pytest-timeout = "^2.3.1"
4950

5051
[tool.semantic_release]
5152
branch = "main"
@@ -75,3 +76,4 @@ asyncio_default_fixture_loop_scope = "function"
7576
log_cli_level = "DEBUG"
7677
log_format = "%(asctime)s %(levelname)s %(name)s:%(lineno)s %(message)s"
7778
log_date_format = "%Y-%m-%d %H:%M:%S"
79+
timeout = 20

0 commit comments

Comments
 (0)