default to reuse-db for testing

This commit is contained in:
Wayne Witzel III 2016-02-05 21:40:01 -05:00
parent 0ab11e53dd
commit 18ea2e0201
2 changed files with 2 additions and 2 deletions

View File

@ -363,7 +363,7 @@ test_unit:
# Run all API unit tests with coverage enabled.
test_coverage:
py.test --cov=awx --cov-report=xml --junitxml=./reports/junit.xml awx/main/tests awx/api/tests awx/fact/tests
py.test --create-db --cov=awx --cov-report=xml --junitxml=./reports/junit.xml awx/main/tests awx/api/tests awx/fact/tests
# Output test coverage as HTML (into htmlcov directory).
coverage_html:

View File

@ -3,4 +3,4 @@ DJANGO_SETTINGS_MODULE = awx.settings.development
python_paths = awx/lib/site-packages
site_dirs = awx/lib/site-packages
python_files = *.py
addopts = --create-db
addopts = --reuse-db