yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #09171
[Bug 1230076] Re: glance.tests.unit.test_store_base.TestStoreBase.test_exception_to_unicode fails
Running tests against master w/ no changes:
======================================================================
FAIL: glance.tests.unit.test_store_base.TestStoreBase.test_exception_to_unicode
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File "/home/vagrant/glance/glance/tests/unit/test_store_base.py", line 46, in test_exception_to_unicode
self.assertEqual(ret, ' error message')
File "/home/vagrant/glance/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 321, in assertEqual
self.assertThat(observed, matcher, message)
File "/home/vagrant/glance/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 406, in assertThat
raise mismatch_error
MismatchError: u'\xa5 error message' != ' error message'
# tox --version
1.7.0 imported from /usr/local/lib/python2.7/dist-packages/tox/__init__.pyc
# pip --version
pip 1.5.2 from /usr/local/lib/python2.7/dist-packages (python 2.7)
** Changed in: glance
Status: Invalid => Confirmed
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1230076
Title:
glance.tests.unit.test_store_base.TestStoreBase.test_exception_to_unicode
fails
Status in OpenStack Image Registry and Delivery Service (Glance):
Confirmed
Bug description:
$ tox -e py27
======================================================================
FAIL: glance.tests.unit.test_store_base.TestStoreBase.test_exception_to_unicode
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File "/opt/stack/glance/glance/tests/unit/test_store_base.py", line 41, in test_exception_to_unicode
self.assertEqual(ret, ' error message')
File "/opt/stack/glance/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 322, in assertEqual
self.assertThat(observed, matcher, message)
File "/opt/stack/glance/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 417, in assertThat
raise MismatchError(matchee, matcher, mismatch, verbose)
MismatchError: u'\xa5 error message' != ' error message'
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1230076/+subscriptions