Add jenkins cache env to tox file.

Change-Id: I46322bb4917d4305526a20083ce93e1e160e74b1
This commit is contained in:
David Shrewsbury 2012-10-27 14:54:28 -04:00 committed by Monty Taylor
parent cab76bddac
commit 37f5ebab73
2 changed files with 4 additions and 2 deletions

View File

@ -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)

View File

@ -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