run_tests.sh does not work if keystone is not installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
Attempting to run unit tests from a checked out tree with run_tests.sh fails with 38 errors similar to this:
=======
ERROR: Failure: ImportError (No module named keystone.common)
-------
Traceback (most recent call last):
File "/home/
addr.filename, addr.module)
File "/home/
return self.importFrom
File "/home/
mod = load_module(
File "/home/
from keystone.common import wsgi
ImportError: No module named keystone.common
It appears that the python path is not setup correctly when using run_tests.sh. This same workflow works in nova, glance and quantum.
Workaround, fake install it:
$ python setup.py develop