Set where=tests

Many tests assumed to be run from tests, and fails without that if simply
run with 'nosetests', which is handy.

Change-Id: Ief9dba564f809012b38df8533dd5a09e90668517
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2013-03-01 12:01:14 +01:00
parent ca064bdbd6
commit a86cdeba8c
2 changed files with 3 additions and 2 deletions

View File

@ -5,6 +5,7 @@ cover-erase = true
cover-inclusive = true
verbosity=2
detailed-errors=1
where=tests
[build_sphinx]
all_files = 1

View File

@ -11,8 +11,8 @@ setenv = VIRTUAL_ENV={envdir}
NOSE_OPENSTACK_YELLOW=0.025
NOSE_OPENSTACK_SHOW_ELAPSED=1
commands =
nosetests --no-path-adjustment --where=./nova_tests
nosetests --no-path-adjustment --where=./tests
nosetests --no-path-adjustment --where=../nova_tests
nosetests --no-path-adjustment
sitepackages = False
[testenv:livedb]