stestr not found when running functional tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glance_store |
Triaged
|
Low
|
Unassigned |
Bug Description
This is currently only a warning, but might as well fix it before it becomes an error.
When running tox for either functional-swift or functional-
[quote]
functional-swift runtests: commands[0] | ostestr --slowest --testr-
WARNING:test command found but not installed in testenv
cmd: /usr/local/
env: /home/rosmabr/
Maybe you forgot to specify a dependency? See also the whitelist_externals envconfig setting.
[/quote]
os-testr is listed in test-requiremen
I think I figured out what's going on. The functional testenv definitions in tox.ini have sitepackages=True. It looks like tox only installs the requirements that aren't already present on the system in that case, so whether you see this message or not depends on whether you have stestr installed somewhere in your path. I guess we could whitelist stestr for this case? Probably not worth worrying about.