Corp/backend/pytest.ini
igor_nadein a590acb762 feat(frontend): добавлен API клиент и восстановлен backend из master
- Создан frontend/src/lib/api.ts с 43 методами для всех API endpoint'ов
- Создан frontend/src/lib/permissions.ts для проверки прав доступа
- Исправлен URL в getChatMessagesAround: /messages/around/ → /messages-around/
- Исправлен параметр: message_id → around_id
- Восстановлен backend из ветки master для стабильности
- Удалены конфликтующие файлы Pages Router (src/pages, App.tsx, providers)
- Оставлена только чистая структура Next.js App Router
- Добавлена документация по миграции API v2
2026-02-24 15:40:50 +03:00

27 lines
821 B
INI
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[pytest]
DJANGO_SETTINGS_MODULE = eusrr_backend.settings
python_files = tests.py test_*.py *_tests.py
# Asyncio mode
asyncio_mode = auto
asyncio_default_fixture_loop_scope = function
# Markers для категоризации тестов
markers =
manual: marks tests as manual (not run by default)
integration: marks tests as integration tests
slow: marks tests as slow running
asyncio: marks tests as asynchronous tests
# Исключить manual tests по умолчанию
addopts = -m "not manual" --strict-markers
# Пути для сбора тестов
testpaths = tests employees
# Игнорировать директории
norecursedirs = .git .venv __pycache__ node_modules staticfiles media scripts tests/manual
# Опции для вывода
console_output_style = progress