run_tests.sh was deleted in https://review.openstack.org/#/c/199343/
** Changed in: keystone Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Keystone. https://bugs.launchpad.net/bugs/1123462 Title: run_tests.sh does not work if keystone is not installed Status in Keystone: Won't Fix 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/johannes/virtualenvs/keystone/lib/python2.6/site-packages/nose/loader.py", line 390, in loadTestsFromName addr.filename, addr.module) File "/home/johannes/virtualenvs/keystone/lib/python2.6/site-packages/nose/importer.py", line 39, in importFromPath return self.importFromDir(dir_path, fqname) File "/home/johannes/virtualenvs/keystone/lib/python2.6/site-packages/nose/importer.py", line 86, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/home/johannes/openstack/keystone/trunk/tests/test_wsgi.py", line 19, in <module> 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. To manage notifications about this bug go to: https://bugs.launchpad.net/keystone/+bug/1123462/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp