remove tox warnning

fix "test command found but not installed in testenv"
by adding the full path

fix "WARNING:stevedore.named:Could not load oslo.db"

Change-Id: Idf757e1ba7e1e1410a9083a2127905a798a5ab8f
This commit is contained in:
Eyal 2017-06-15 11:15:22 +03:00
parent 6f47b1c910
commit 89b27980e2
2 changed files with 1 additions and 2 deletions

View File

@ -3,7 +3,6 @@ output_file = etc/vitrage/vitrage.conf
wrap_width = 79 wrap_width = 79
namespace = vitrage namespace = vitrage
namespace = datasources namespace = datasources
namespace = oslo.db
namespace = oslo.log namespace = oslo.log
namespace = oslo.middleware namespace = oslo.middleware
namespace = oslo.policy namespace = oslo.policy

View File

@ -12,7 +12,7 @@ setenv =
DISCOVER_DIRECTORY=vitrage/tests DISCOVER_DIRECTORY=vitrage/tests
deps = -r{toxinidir}/test-requirements.txt deps = -r{toxinidir}/test-requirements.txt
commands = commands =
rm -f .testrepository/times.dbm /bin/rm -f .testrepository/times.dbm
python setup.py testr --slowest --testr-args='{posargs}' python setup.py testr --slowest --testr-args='{posargs}'
oslo-config-generator --config-file=etc/vitrage/vitrage-config-generator.conf oslo-config-generator --config-file=etc/vitrage/vitrage-config-generator.conf