diff --git a/test_omnijson.py b/test_omnijson.py index db4ed76..9eaaca3 100644 --- a/test_omnijson.py +++ b/test_omnijson.py @@ -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) diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..764ee3c --- /dev/null +++ b/tox.ini @@ -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 \ No newline at end of file