** Changed in: keystone Status: Fix Released => In Progress ** Changed in: keystone Assignee: David Stanek (dstanek) => Ilya Pekelny (i159)
** Changed in: keystone Milestone: icehouse-2 => None -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Keystone. https://bugs.launchpad.net/bugs/1255518 Title: name '_' is not defined, under nosetests. Status in OpenStack Identity (Keystone): In Progress Bug description: When I start keystone unit tests under `nosetests` it is falls with an error: NameError: name '_' is not defined Due to deprecating implicit `_` import, explicit `_` become necessary . But obvious it is done not everywhere. (git::master)nosetests -xs E ====================================================================== ERROR: Failure: NameError (name '_' is not defined) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ipekelny/workspace/keystone/.tox/py26/lib/python2.6/site-packages/nose/loader.py", line 413, in loadTestsFromName addr.filename, addr.module) File "/home/ipekelny/workspace/keystone/.tox/py26/lib/python2.6/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/home/ipekelny/workspace/keystone/.tox/py26/lib/python2.6/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/home/ipekelny/workspace/keystone/keystone/assignment/__init__.py", line 18, in <module> from keystone.assignment.core import * File "/home/ipekelny/workspace/keystone/keystone/assignment/core.py", line 23, in <module> from keystone import clean File "/home/ipekelny/workspace/keystone/keystone/clean.py", line 17, in <module> from keystone import exception File "/home/ipekelny/workspace/keystone/keystone/exception.py", line 63, in <module> class ValidationError(Error): File "/home/ipekelny/workspace/keystone/keystone/exception.py", line 64, in ValidationError message_format = _("Expecting to find %(attribute)s in %(target)s." NameError: name '_' is not defined -------------------- >> begin captured logging << -------------------- keystone.common.environment: INFO: Environment configured as: eventlet --------------------- >> end captured logging << --------------------- ---------------------------------------------------------------------- To manage notifications about this bug go to: https://bugs.launchpad.net/keystone/+bug/1255518/+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