mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 21:21:21 -03:30
default to reuse-db for testing
This commit is contained in:
parent
0ab11e53dd
commit
18ea2e0201
2
Makefile
2
Makefile
@ -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:
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user