diff --git a/tests/test_worker_controller.py b/tests/test_worker_controller.py index a2884c0a..f2ca79c8 100644 --- a/tests/test_worker_controller.py +++ b/tests/test_worker_controller.py @@ -105,4 +105,3 @@ class TestWorkerController(unittest.TestCase): response = controller.run() self.assertIn(c.RESPONSE_FIELD, response) self.assertEquals(response[c.RESPONSE_FIELD], c.RESPONSE_FAILURE) - diff --git a/tox.ini b/tox.ini index 37f0fa6e..d0927428 100644 --- a/tox.ini +++ b/tox.ini @@ -6,10 +6,13 @@ deps = -r{toxinidir}/tools/pip-requires -r{toxinidir}/tools/test-requires commands = py.test {posargs} +[tox:jenkins] +downloadcache = ~/cache/pip + [testenv:py27] [testenv:pep8] -commands = py.test --pep8 -k pep8 --clearcache libra +commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,*openstack/common*,*lib/python*,*egg libra setup.py [testenv:pyflakes] deps = pyflakes