Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Create a tox config for automating tests for different Python versions.

To use:
    sudo pip install tox
    tox
  • Loading branch information...
commit c3df4dd0520a758837e8d9c51d408efc4d8e6a28 1 parent 730c3fa
@legastero legastero authored
Showing with 7 additions and 3 deletions.
  1. +2 −0  .gitignore
  2. +0 −3  sleekxmpp/test/sleektest.py
  3. +5 −0 tox.ini
View
2  .gitignore
@@ -4,3 +4,5 @@ dist/
MANIFEST
docs/_build/
*.swp
+.tox/
+.coverage
View
3  sleekxmpp/test/sleektest.py
@@ -58,9 +58,6 @@ def __init__(self, *args, **kwargs):
unittest.TestCase.__init__(self, *args, **kwargs)
self.xmpp = None
- def runTest(self):
- pass
-
def parse_xml(self, xml_string):
try:
xml = ET.fromstring(xml_string)
View
5 tox.ini
@@ -0,0 +1,5 @@
+[tox]
+envlist = py26,py27,py31,py32
+[testenv]
+deps = nose
+commands = nosetests --where=tests --exclude=live -i sleektest.py
Please sign in to comment.
Something went wrong with that request. Please try again.