summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorSolly Ross <sross@redhat.com>2015-05-06 13:49:13 -0400
committerSolly Ross <sross@redhat.com>2015-05-13 16:03:57 -0400
commit04fd789a677a84b3c908bb8ac02413d16271d5fb (patch)
tree276643d99c6648ea600f3305d03ced65e3eb6506 /tox.ini
parentd5216c31669bd25399dbb7add964c969b406db2d (diff)
downloadwebsockify-04fd789a677a84b3c908bb8ac02413d16271d5fb.tar.gz
Update Tests and Test Plugins
This commit updates the unit tests to work with the current code and adds in tests for the auth and token plugin functionality.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini19
1 files changed, 19 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..012d349
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,19 @@
+# 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 = py24,py26,py27,py33,py34
+
+[testenv]
+commands = nosetests {posargs}
+deps =
+ mox
+ nose
+
+# At some point we should enable this since tox expects it to exist but
+# the code will need pep8ising first.
+#[testenv:pep8]
+#commands = flake8
+#dep = flake8