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
changes/88/83888/1
Ben Nemec 9 years ago
parent c6e922197a
commit 05ac18a82b

@ -1 +1,4 @@
hacking>=0.8.0,<0.9
oslotest
testrepository>=0.0.18

@ -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…
Cancel
Save