yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #11176
[Bug 1273301] Re: Unit test failure: Message objects do not support str() because they may contain non-ascii characters. Please use unicode() or translate() instead.
** Changed in: oslo
Status: Fix Committed => Fix Released
** Changed in: oslo
Milestone: None => icehouse-3
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1273301
Title:
Unit test failure: Message objects do not support str() because they
may contain non-ascii characters. Please use unicode() or translate()
instead.
Status in OpenStack Identity (Keystone):
Fix Released
Status in OpenStack Neutron (virtual network service):
New
Status in Oslo - a Library of Common OpenStack Code:
Fix Released
Bug description:
FAIL: neutron.tests.unit.test_neutron_manager.NeutronManagerTestCase.test_multiple_plugins_specified_for_service_type
tags: worker-3
----------------------------------------------------------------------
Empty attachments:
stderr
stdout
pythonlogging:'': {{{
2014-01-17 09:03:30,605 INFO [neutron.manager] Loading core plugin: neutron.db.db_base_plugin_v2.NeutronDbPluginV2
2014-01-17 09:03:30,698 INFO [neutron.manager] Loading Plugin: neutron.tests.unit.dummy_plugin.DummyServicePlugin
2014-01-17 09:03:30,698 INFO [neutron.manager] Loading Plugin: neutron.tests.unit.dummy_plugin.DummyServicePlugin
}}}
Traceback (most recent call last):
File "neutron/tests/unit/test_neutron_manager.py", line 100, in test_multiple_plugins_specified_for_service_type
NeutronManager.get_instance()
File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 866, in __exit__
mismatch = matcher.match((exc_type, exc_value, traceback))
File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 64, in match
return self.value_re.match(other[1])
File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_higherorder.py", line 206, in match
after = self.preprocessor(value)
File "neutron/openstack/common/gettextutils.py", line 264, in __str__
raise UnicodeError(msg)
UnicodeError: Message objects do not support str() because they may contain non-ascii characters. Please use unicode() or translate() instead.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1273301/+subscriptions
References