2014-10-03 00:13:48 +04:00
|
|
|
# Tox (http://tox.testrun.org/) is a tool for running tests
|
2016-05-23 17:15:30 +03:00
|
|
|
# Install:
|
2014-10-03 00:13:48 +04:00
|
|
|
# pip install tox
|
|
|
|
# Run:
|
|
|
|
# tox
|
|
|
|
|
|
|
|
[tox]
|
2023-10-07 09:42:22 +03:00
|
|
|
envlist =
|
|
|
|
py38
|
|
|
|
py39
|
|
|
|
py310
|
|
|
|
py311
|
|
|
|
py312
|
2014-10-03 00:13:48 +04:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
deps =
|
|
|
|
flake8
|
|
|
|
psutil
|
2023-10-07 09:42:22 +03:00
|
|
|
defusedxml
|
|
|
|
packaging
|
2024-05-12 19:31:04 +03:00
|
|
|
pydantic
|
2023-10-07 09:42:22 +03:00
|
|
|
ujson
|
2023-11-26 12:02:30 +03:00
|
|
|
fastapi
|
|
|
|
uvicorn
|
2023-11-27 00:40:36 +03:00
|
|
|
jinja2
|
2023-10-07 09:42:22 +03:00
|
|
|
requests
|
2014-10-03 00:13:48 +04:00
|
|
|
commands =
|
2024-05-07 15:07:08 +03:00
|
|
|
python unittest-core.py
|
2024-05-07 15:01:36 +03:00
|
|
|
; python unittest-restful.py
|
|
|
|
; python unittest-xmlrpc.py
|
2023-10-07 09:42:22 +03:00
|
|
|
;flake8 --exclude=build,.tox,.git
|