From 7354d1da2c5d458a2e136a8567d48e2af1d1e246 Mon Sep 17 00:00:00 2001 From: Wayne Witzel III Date: Tue, 22 Mar 2016 09:46:46 -0400 Subject: [PATCH 1/2] Fix test_coverage make target --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c539cf9fd5..0d0217b339 100644 --- a/Makefile +++ b/Makefile @@ -368,7 +368,7 @@ test_unit: # Run all API unit tests with coverage enabled. test_coverage: - py.test --create-db --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 # Output test coverage as HTML (into htmlcov directory). coverage_html: From 5ce4cb95fa4a953929ed33c91933d877de620c2a Mon Sep 17 00:00:00 2001 From: Wayne Witzel III Date: Tue, 22 Mar 2016 10:28:05 -0400 Subject: [PATCH 2/2] Update test make target, no fact/tests --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0d0217b339..daa9c35a71 100644 --- a/Makefile +++ b/Makefile @@ -361,7 +361,7 @@ check: flake8 pep8 # pyflakes pylint # Run all API unit tests. test: - py.test awx/main/tests awx/api/tests awx/fact/tests + py.test awx/main/tests awx/api/tests test_unit: py.test awx/main/tests/unit