basic tox

This commit is contained in:
Kenneth Reitz
2011-06-19 12:41:05 -04:00
parent 1d00e6f8e8
commit f83b9b8b41
2 changed files with 17 additions and 1 deletions
-1
View File
@@ -17,7 +17,6 @@ class OmniSuite(unittest.TestCase):
a = json.loads(self._good_json_string)
self.assertEqual(a, self._good_json_result)
def test_dump_json(self):
a = json.dumps(self._good_json_result)
self.assertEqual(a, self._good_json_string)
+17
View File
@@ -0,0 +1,17 @@
[tox]
envlist = py25,py26,py27,py3
[testenv]
commands=py.test --junitxml=junit-{envname}.xml
deps = pytest
[testenv:py25]
simplejson = pytest simplejson
[testenv:pypy]
basepython=/usr/bin/pypy-c
simplejson = pytest simplejson
[testenv:py3]
basepython=/usr/bin/python3
simplejson = pytest