mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-23 11:09:54 +00:00
Create a tox config for automating tests for different Python versions.
To use: sudo pip install tox tox
This commit is contained in:
parent
730c3fada0
commit
c3df4dd052
3 changed files with 7 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -4,3 +4,5 @@ dist/
|
|||
MANIFEST
|
||||
docs/_build/
|
||||
*.swp
|
||||
.tox/
|
||||
.coverage
|
||||
|
|
|
@ -58,9 +58,6 @@ class SleekTest(unittest.TestCase):
|
|||
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)
|
||||
|
|
5
tox.ini
Normal file
5
tox.ini
Normal file
|
@ -0,0 +1,5 @@
|
|||
[tox]
|
||||
envlist = py26,py27,py31,py32
|
||||
[testenv]
|
||||
deps = nose
|
||||
commands = nosetests --where=tests --exclude=live -i sleektest.py
|
Loading…
Reference in a new issue