08ea5fbe98
添加用户管理视图、API和状态管理文件
49 lines
1.0 KiB
TOML
49 lines
1.0 KiB
TOML
[tool.poetry]
|
|
name = "everything-is-suitable-api-test"
|
|
version = "1.0.0"
|
|
description = "黑盒API测试工具"
|
|
authors = ["Test Team <test@example.com>"]
|
|
readme = "README.md"
|
|
packages = [{include = "apitest", from = "src"}]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.10"
|
|
requests = "^2.31.0"
|
|
httpx = "^0.25.0"
|
|
pytest = "^7.4.0"
|
|
allure-pytest = "^2.13.2"
|
|
pyyaml = "^6.0.1"
|
|
python-dotenv = "^1.0.0"
|
|
click = "^8.1.6"
|
|
jinja2 = "^3.1.2"
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
pytest-cov = "^4.1.0"
|
|
black = "^23.12.0"
|
|
flake8 = "^6.1.0"
|
|
mypy = "^1.7.0"
|
|
|
|
[tool.poetry.scripts]
|
|
apitest = "apitest.cli_module:cli"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.black]
|
|
line-length = 100
|
|
target-version = ['py310']
|
|
|
|
[tool.mypy]
|
|
python_version = "3.10"
|
|
warn_return_any = true
|
|
warn_unused_configs = true
|
|
disallow_untyped_defs = true
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
python_classes = ["Test*"]
|
|
python_functions = ["test_*"]
|
|
addopts = "-v --cov=apitest --cov-report=html --cov-report=term"
|