old_console/pytest.ini
2024-11-02 14:12:45 +03:00

12 lines
470 B
INI

[pytest]
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
DJANGO_SETTINGS_MODULE = console.settings.test
python_files = tests.py test_*.py *_tests.py
log_file_level = INFO
log_file = test.log
log_file_format = %(asctime)s %(levelname)s %(message)s
log_file_date_format = %Y-%m-%d %H:%M:%S
redis_host = redis
markers =
unit: Unit tests, run in local environment
integration: Tests to run with different services like elasticsearch and other