chore: upgrade pytest-html 3.x -> 4.x, fix pytest.ini
- Upgrade pytest-html 3.2.0 to 4.x (совместима с pytest 9.1) - Убрать пин версии pytest-html==3.2.0 в requirements.txt - Перенести --html флаг из ручного запуска в pytest.ini addopts, чтобы отчёт генерировался автоматически при каждом запуске pytest - Убрать html_report_dir из pytest.ini (не поддерживается, вызывал PytestConfigWarning: Unknown config option) - Исправить опечатку в маркере vetstation - Добавить html-report/ и report.html в .gitignore
This commit is contained in:
@ -1,10 +1,9 @@
|
||||
[pytest]
|
||||
addopts = --browser chromium --headed --slowmo 1000
|
||||
html_report_dir = html-report
|
||||
addopts = --browser chromium --headed --slowmo 1000 --html=html-report/report.html --self-contained-html
|
||||
testpaths = tests
|
||||
markers =
|
||||
vetdept: тесты для роли Управление ветеринарии
|
||||
vetstation: тесты для роли Ветеринарная станци
|
||||
vetstation: тесты для роли Ветеринарная станция
|
||||
prefecture: тесты для роли Администрация
|
||||
contractor_admin: тесты для роли Администратор организации отлова
|
||||
smoke: критически важные тесты для быстрого прогона
|
||||
Reference in New Issue
Block a user