From 6edf0c72ce11e64627d3db6a0c4fd74a81039ed4 Mon Sep 17 00:00:00 2001 From: Joshua Powers Date: Thu, 27 Apr 2017 14:31:48 -0600 Subject: unittests: fix unittests run on centos Apt related tests were broken when running on centos becasue apt is not available. This fixes the unit test, with a small re-work of apt_configure. Also in 'tox -e centos6' only run nose on tests/unittests as tests/ also contain integration tests that should not be run. --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index bf9046af..826f554e 100644 --- a/tox.ini +++ b/tox.ini @@ -70,7 +70,7 @@ deps = [testenv:centos6] basepython = python2.6 -commands = nosetests {posargs:tests} +commands = nosetests {posargs:tests/unittests} deps = # requirements argparse==1.2.1 -- cgit v1.2.3