diff --git a/Makefile b/Makefile index f748c7992b..e270c6d4d0 100644 --- a/Makefile +++ b/Makefile @@ -473,7 +473,7 @@ pylint: reports check: flake8 pep8 # pyflakes pylint -TEST_DIRS ?= awx/main/tests +TEST_DIRS ?= awx/main/tests awx/conf/tests # Run all API unit tests. test: @if [ "$(VENV_BASE)" ]; then \ @@ -485,7 +485,7 @@ test_unit: @if [ "$(VENV_BASE)" ]; then \ . $(VENV_BASE)/tower/bin/activate; \ fi; \ - py.test awx/main/tests/unit + py.test awx/main/tests/unit awx/conf/tests/unit # Run all API unit tests with coverage enabled. test_coverage: diff --git a/tools/docker-compose/unit-tests/docker-compose.yml b/tools/docker-compose/unit-tests/docker-compose.yml index e878fbc419..ec97dcc46d 100644 --- a/tools/docker-compose/unit-tests/docker-compose.yml +++ b/tools/docker-compose/unit-tests/docker-compose.yml @@ -8,7 +8,7 @@ services: image: gcr.io/ansible-tower-engineering/unit-test-runner:latest environment: SWIG_FEATURES: "-cpperraswarn -includeall -I/usr/include/openssl" - TEST_DIRS: awx/main/tests/functional awx/main/tests/unit + TEST_DIRS: awx/main/tests/functional awx/main/tests/unit awx/conf/tests command: ["make test"] volumes: - ../../../:/tower_devel