Skip to content

Commit 5e51c46

Browse files
Update deps
Add pytest
1 parent d18915f commit 5e51c46

File tree

3 files changed

+291
-108
lines changed

3 files changed

+291
-108
lines changed

poetry.lock

Lines changed: 186 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,14 @@ websockets = "^10.3"
2929

3030
[tool.poetry.group.dev.dependencies]
3131
flask = "^2.2.3"
32-
icecream = "^2.1.3"
33-
ipython = "^8.10.0"
34-
playwright = "^1.18.1"
35-
rich = "^12.5.1"
32+
ipython = "^8.4.0"
33+
playwright = "^1.27.1"
34+
pytest = "^7.1.3"
35+
pytest-asyncio = "^0.19.0"
36+
pytest-cov = "^4.0.0"
37+
pytest-datafiles = "^3.0.0"
38+
pytest-xdist = "^2.5.0"
39+
rich = "^12.6.0"
3640

3741
[tool.black]
3842
line-length = 130
@@ -84,6 +88,19 @@ profile = "black"
8488
line_length = 130
8589
skip_gitignore = true
8690

91+
[tool.pytest.ini_options]
92+
asyncio_mode = "auto"
93+
addopts = "--cov=. --cov-report html"
94+
python_files = [
95+
"tests.py",
96+
"test_*.py",
97+
"*_tests.py",
98+
]
99+
testpaths = [
100+
"tests",
101+
"integration",
102+
]
103+
87104
[build-system]
88105
requires = ["poetry-core>=1.0.0"]
89106
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)