mirror of
https://github.com/not-kennethreitz/omnijson.git
synced 2026-06-05 07:06:14 +00:00
basic tox
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user