mirror of
https://github.com/chatmail/core.git
synced 2026-05-03 21:36:29 +03:00
Set pytest-timeout on async python tests
This commit is contained in:
@@ -15,6 +15,7 @@ passenv =
|
|||||||
deps =
|
deps =
|
||||||
pytest
|
pytest
|
||||||
pytest-asyncio
|
pytest-asyncio
|
||||||
|
pytest-timeout
|
||||||
aiohttp
|
aiohttp
|
||||||
aiodns
|
aiodns
|
||||||
|
|
||||||
@@ -27,3 +28,6 @@ deps =
|
|||||||
commands =
|
commands =
|
||||||
black --quiet --check --diff src/ examples/ tests/
|
black --quiet --check --diff src/ examples/ tests/
|
||||||
ruff src/ examples/ tests/
|
ruff src/ examples/ tests/
|
||||||
|
|
||||||
|
[pytest]
|
||||||
|
timeout = 60
|
||||||
|
|||||||
Reference in New Issue
Block a user