summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJoshua Powers <josh.powers@canonical.com>2017-04-27 14:31:48 -0600
committerScott Moser <smoser@brickies.net>2017-05-16 16:19:29 -0400
commit6edf0c72ce11e64627d3db6a0c4fd74a81039ed4 (patch)
treee0c41413f63e8cd9589a45f9ac2406bf5e09d9ba /tox.ini
parent4bcc947301bedc5ebf430cfaf6e4597bfb174aa7 (diff)
downloadvyos-cloud-init-6edf0c72ce11e64627d3db6a0c4fd74a81039ed4.tar.gz
vyos-cloud-init-6edf0c72ce11e64627d3db6a0c4fd74a81039ed4.zip
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.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
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