mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
7e0bfc9831
This is for two reasons, 1) it's a lot faster when starting from a new database, and 2) since we do database work within our migrations, it doesn't actually work within py.test, which is either a bug in pytest-djano, or a horrible behavior of pytest-django.
11 lines
370 B
INI
11 lines
370 B
INI
[pytest]
|
|
DJANGO_SETTINGS_MODULE = awx.settings.development
|
|
python_paths = awx/lib/site-packages
|
|
site_dirs = awx/lib/site-packages
|
|
python_files = *.py
|
|
addopts = --reuse-db --nomigrations
|
|
markers =
|
|
ac: access control test
|
|
license_feature: ensure license features are accessible or not depending on license
|
|
mongo_db: drop mongodb test database before test runs
|