Add jenkins cache env to tox file.
Change-Id: I46322bb4917d4305526a20083ce93e1e160e74b1
This commit is contained in:
parent
cab76bddac
commit
37f5ebab73
@ -105,4 +105,3 @@ class TestWorkerController(unittest.TestCase):
|
|||||||
response = controller.run()
|
response = controller.run()
|
||||||
self.assertIn(c.RESPONSE_FIELD, response)
|
self.assertIn(c.RESPONSE_FIELD, response)
|
||||||
self.assertEquals(response[c.RESPONSE_FIELD], c.RESPONSE_FAILURE)
|
self.assertEquals(response[c.RESPONSE_FIELD], c.RESPONSE_FAILURE)
|
||||||
|
|
||||||
|
5
tox.ini
5
tox.ini
@ -6,10 +6,13 @@ deps = -r{toxinidir}/tools/pip-requires
|
|||||||
-r{toxinidir}/tools/test-requires
|
-r{toxinidir}/tools/test-requires
|
||||||
commands = py.test {posargs}
|
commands = py.test {posargs}
|
||||||
|
|
||||||
|
[tox:jenkins]
|
||||||
|
downloadcache = ~/cache/pip
|
||||||
|
|
||||||
[testenv:py27]
|
[testenv:py27]
|
||||||
|
|
||||||
[testenv:pep8]
|
[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]
|
[testenv:pyflakes]
|
||||||
deps = pyflakes
|
deps = pyflakes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user