Skip to content

Commit 4b11f78

Browse files
author
kuba
committed
update pytest config
1 parent 7c5ef9f commit 4b11f78

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

Pipfile

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ fastapi = "*"
1717
uvicorn = {extras = ["standard"], version = "*"}
1818
pydantic = "*"
1919
pytest-cov = "*"
20+
pytest-asyncio = "*"
2021
httpx = "*"
2122
aioredis = "*"
2223
rich = "*"

Pipfile.lock

+9-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pytest.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[pytest]
2-
asyncio_mode = auto
2+
asyncio_mode=auto
33
python_files = tests.py test_*.py *_tests.py
44
addopts = --cov=.
55
--cov-report html:htmlcov

tests/conftest.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import asyncio
12
import json
23
import pathlib
34

0 commit comments

Comments
 (0)