mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-20 07:43:35 -05:00
added pytest to requirements_dev
reworking test strucutre reworked pytest.ini, removed functional imports, updated req_dev remove unneeded __init__ files add testing checker to local_settings examples adding testing packages to system Python for docker
This commit is contained in:
6
Makefile
6
Makefile
@@ -357,17 +357,17 @@ pylint: reports
|
||||
@(set -o pipefail && $@ | reports/$@.report)
|
||||
|
||||
check: flake8 pep8 # pyflakes pylint
|
||||
|
||||
|
||||
# Run all API unit tests.
|
||||
test:
|
||||
$(PYTHON) manage.py test -v2 awx.main.tests
|
||||
$(PYTHON) -m py.test awx/main/tests
|
||||
|
||||
test_unit:
|
||||
$(PYTHON) -m py.test awx/main/tests/unit
|
||||
|
||||
# Run all API unit tests with coverage enabled.
|
||||
test_coverage:
|
||||
coverage run manage.py test -v2 awx.main.tests
|
||||
$(PYTHON) -m py.test --cov=awx awx/main/tests
|
||||
|
||||
# Output test coverage as HTML (into htmlcov directory).
|
||||
coverage_html:
|
||||
|
||||
Reference in New Issue
Block a user