Merge commit '19031b24b523c872c1ac367821dc60c950a09755' as 'modules/libjuju'
[osm/N2VC.git] / modules / libjuju / tox.ini
diff --git a/modules/libjuju/tox.ini b/modules/libjuju/tox.ini
new file mode 100644 (file)
index 0000000..789bbeb
--- /dev/null
@@ -0,0 +1,28 @@
+# Tox (http://tox.testrun.org/) is a tool for running tests
+# in multiple virtualenvs. This configuration file will run the
+# test suite on all supported python versions. To use it, "pip install tox"
+# and then run "tox" from this directory.
+
+[tox]
+envlist = py35
+skipsdist=True
+
+[testenv]
+usedevelop=True
+passenv =
+    HOME
+deps =
+    pytest
+    pytest-asyncio
+    pytest-xdist
+    mock
+    asynctest
+    ipdb
+
+[testenv:py35]
+# default tox env excludes integration tests
+commands = py.test -ra -v -s -x -n auto -k 'not integration' {posargs}
+
+[testenv:integration]
+basepython=python3
+commands = py.test -ra -v -s -x -n auto {posargs}