summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2015-02-11 14:00:20 -0500
committerScott Moser <smoser@ubuntu.com>2015-02-11 14:00:20 -0500
commit35dd98c07bce490e85e03bef872cbbf1185e0be9 (patch)
tree9b71de77b27ca916fa1d869fa95c0a5ab9f5e51c /tox.ini
parentcd632b2f153a61faa48531cb41d0288650e72c71 (diff)
parent587387cfbff7a89573128dc958df903d1becbde1 (diff)
downloadvyos-cloud-init-35dd98c07bce490e85e03bef872cbbf1185e0be9.tar.gz
vyos-cloud-init-35dd98c07bce490e85e03bef872cbbf1185e0be9.zip
some python3 fixes
This fixes the last set of WARN messages in my testing. * open /dev/console in text mode * move final message to be jinja template by default to avoid a warning about lack of cheetah. * write and read pickle'd contents in binary * some logging tests Also: * add tool tox-venv for simple things like: tox-venv py34 /bin/bash
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index d04cd47c..686a1e7a 100644
--- a/tox.ini
+++ b/tox.ini
@@ -3,7 +3,7 @@ envlist = py26,py27,py34
recreate = True
[testenv]
-commands = python -m nose tests
+commands = python -m nose {posargs:tests}
deps =
contextlib2
httpretty>=0.7.1
@@ -13,7 +13,7 @@ deps =
pyflakes
[testenv:py26]
-commands = nosetests tests
+commands = nosetests {posargs:tests}
deps =
contextlib2
httpretty>=0.7.1