Update tests

This commit is contained in:
2025-05-16 17:38:21 +02:00
parent 6daceef913
commit fd2922fde8
19 changed files with 1137 additions and 17 deletions

View File

@ -7,7 +7,7 @@ all = [ {ref="fmt"}, {ref="lint"}, {ref="check"}, {ref="test"} ]
"ci:fmt" = "ruff format --check ${PWD}" # fail if not formatted
"ci:lint" = "ruff check ${PWD}"
[tool.poe.tasks.coverage]
cmd = "pytest --cov-config=${PWD}/.coveragerc --cov --cov-report=html --cov-report=term-missing"
cmd = "pytest --ignore tests/integration/frontend --cov-config=${PWD}/.coveragerc --cov --cov-report=html --cov-report=term-missing --alluredir allure-results"
cwd = "${POE_PWD}"
@ -32,6 +32,7 @@ dependencies = [
"pykeepass>=4.1.1.post1",
"pytest-asyncio>=0.26.0",
"pytest-cov>=6.1.1",
"pytest-selenium>=4.1.0",
"python-dotenv>=1.0.1",
"python-json-logger>=3.3.0",
]
@ -65,9 +66,13 @@ dev = [
"python-dotenv>=1.0.1",
]
test = [
"allure-pytest>=2.14.2",
"coverage>=7.8.0",
"pytest>=8.3.5",
"pytest-asyncio>=0.26.0",
"pytest-cov>=6.1.1",
"pytest-selenium>=4.1.0",
"requests>=2.32.3",
"robotframework>=7.2.2",
"selenium>=4.32.0",
]