Enable unit testing
Adds the necessary scaffolding to run unit tests in this project. Actual tests will be added in later commits. Change-Id: Ia348dda6b482ca269dceace09f6ac3b24bbd6b32
This commit is contained in:
parent
c6e922197a
commit
05ac18a82b
|
@ -1 +1,4 @@
|
|||
hacking>=0.8.0,<0.9
|
||||
|
||||
oslotest
|
||||
testrepository>=0.0.18
|
||||
|
|
7
tox.ini
7
tox.ini
|
@ -1,12 +1,14 @@
|
|||
[tox]
|
||||
minversion = 1.6
|
||||
skipsdist = True
|
||||
envlist = pep8
|
||||
envlist = py26,py27,pep8
|
||||
|
||||
[testenv]
|
||||
usedevelop = True
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
commands=
|
||||
python setup.py testr --slowest --testr-args='{posargs}'
|
||||
|
||||
[testenv:venv]
|
||||
commands = {posargs}
|
||||
|
@ -18,3 +20,6 @@ commands = flake8
|
|||
ignore = E125,H803
|
||||
exclude = .venv,.tox,dist,doc,*.egg
|
||||
show-source = true
|
||||
|
||||
[tox:jenkins]
|
||||
downloadcache = ~/cache/pip
|
||||
|
|
Loading…
Reference in New Issue