-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpytest.ini
30 lines (27 loc) · 1 KB
/
pytest.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[pytest]
; log_cli = True
; log_cli_level = DEBUG
# settings.DEBUG is managed by this pytest-django option
# https://pytest-django.readthedocs.io/en/latest/usage.html#django-debug-mode-change-how-debug-is-set
django_debug_mode = false
log_level = ERROR
addopts = --nomigrations --ignore apiv1 --ignore settings_test
; -k 'not APIv1'
python_files=*__test.py
python_functions = *__test
norecursedirs=.venv utils scripts test/deprecated
asyncio_default_fixture_loop_scope = function
; django_find_project = false
pythonpath=.
env =
# https://github.com/microsoft/playwright-python/issues/439
# Playwright runs event loop, so confuses django protections in tests
DJANGO_ALLOW_ASYNC_UNSAFE=1
; DATABASE_URL=sqlite://:memory:
DEBUG_TOOLBAR=0
DJANGO_SETTINGS_MODULE=test.settings_test
UFO_LOGLEVEL=DEBUG
DATABASE_URL=sqlite:///testdb.sqlite
; DATABASE_URL=postgresql://pguser:password@localhost:5432/testdb
markers =
uitest: long playwright ui e2e scenarios (deselect with `-m "not uitest"`)