reorganzing tests folder

make tests a module

refacotring to local imports for tests

fixing test import of tasks

fixing test import of tasks

more testing fixups
This commit is contained in:
Wayne Witzel III
2016-01-27 11:38:56 -05:00
parent 7b07bb7d93
commit 5d6ea242c0
44 changed files with 205 additions and 81 deletions

View File

@@ -362,6 +362,9 @@ check: flake8 pep8 # pyflakes pylint
test:
$(PYTHON) manage.py test -v2 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