diff options
| author | Alejandro Cabrera <alejandro.cabrera@rackspace.com> | 2013-12-13 11:18:57 -0500 |
|---|---|---|
| committer | Alejandro Cabrera <alejandro.cabrera@rackspace.com> | 2013-12-13 11:18:57 -0500 |
| commit | c0f1ff034eb325ff5ee5206ff7e6a9edfaee88bb (patch) | |
| tree | 7ba7780e0c59f55c7b04d408e029bc7fe05025a5 | |
| parent | b68661c90414249d2d575cc435d9b6fa7babcd8d (diff) | |
| download | httpretty-c0f1ff034eb325ff5ee5206ff7e6a9edfaee88bb.tar.gz | |
feat: tox support
tox makes it easy to verify whether tests pass across a variety of
different python versions.
This patch adds that support.
| -rw-r--r-- | tox.ini | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -0,0 +1,13 @@ +[tox] +envlist = py26, py27 + +[testenv] +deps = -r{toxinidir}/requirements.txt +commands = nosetests -s --verbosity=2 --with-coverage --cover-erase --cover-inclusive tests/unit --cover-package=httpretty + +[testenv:functional] +commands = nosetests -s --verbosity=2 --with-coverage --cover-erase --cover-inclusive tests/functional --cover-package=httpretty + +[testenv:pep8] +deps = flake8 +commands = flake8 httpretty tests |
