Move tests/ under ironic_lib/, use ostestr
This moves the tests directory under ironic_lib, which is kind of the standard around here. Updates tox.ini to point at this directory. Also updates tox.ini to use ostestr, to be more standard with other OpenStack things. Change-Id: I91e6ba38c44a475602175b66c10757ec11b173f9
This commit is contained in:
parent
618ab03b60
commit
fb520b1302
|
@ -10,7 +10,7 @@ oslotest>=1.10.0 # Apache-2.0
|
|||
pylint==1.4.4 # GNU GPL v2
|
||||
simplejson>=2.2.0
|
||||
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2
|
||||
testrepository>=0.0.18
|
||||
testscenarios>=0.4
|
||||
testtools>=1.4.0
|
||||
mox3>=0.7.0
|
||||
os-testr>=0.1.0
|
||||
|
|
4
tox.ini
4
tox.ini
|
@ -4,9 +4,9 @@ envlist = py27,py34,pep8
|
|||
[testenv]
|
||||
usedevelop = True
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
TESTS_DIR=./ironic_lib/tests/
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
commands =
|
||||
python setup.py test --slowest --testr-args='{posargs}'
|
||||
commands = ostestr {posargs}
|
||||
|
||||
[flake8]
|
||||
show-source = True
|
||||
|
|
Loading…
Reference in New Issue