summaryrefslogtreecommitdiffstats
path: root/pytest.ini
diff options
context:
space:
mode:
authorAkita Noek <anoek@ansible.com>2016-04-12 20:32:10 +0200
committerAkita Noek <anoek@ansible.com>2016-04-12 20:32:10 +0200
commit7e0bfc9831e880f89f2abc62567394db978660ed (patch)
tree84bab8f85b487b51addf114ed26f12e0844d4c79 /pytest.ini
parentflake8 fixes (diff)
downloadawx-7e0bfc9831e880f89f2abc62567394db978660ed.tar.xz
awx-7e0bfc9831e880f89f2abc62567394db978660ed.zip
Use --nomigrations for py.test
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.
Diffstat (limited to 'pytest.ini')
-rw-r--r--pytest.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/pytest.ini b/pytest.ini
index 3e3f145d85..6ce4c8e3d4 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -3,7 +3,7 @@ DJANGO_SETTINGS_MODULE = awx.settings.development
python_paths = awx/lib/site-packages
site_dirs = awx/lib/site-packages
python_files = *.py
-addopts = --reuse-db
+addopts = --reuse-db --nomigrations
markers =
ac: access control test
license_feature: ensure license features are accessible or not depending on license