yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #05616
[Bug 1212625] Re: 'str' object has no attribute 'AndReturn'
Fix up for review: https://review.openstack.org/#/c/49526/
** Changed in: glance
Assignee: Kui Shi (skuicloud) => Stuart McLaren (stuart-mclaren)
** Changed in: glance
Status: Fix Released => In Progress
** Tags added: havana-rc-potential
** Description changed:
+
+ Fix up for review here: https://review.openstack.org/#/c/49526/
+
+
+
======================================================================
ERROR: glance.tests.unit.test_store_image.TestStoreAddToBackend.test_bad_metadata_not_dict
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
- File "/opt/stack/glance/glance/tests/unit/test_store_image.py", line 788, in test_bad_metadata_not_dict
- store.__str__().AndReturn(('hello'))
+ File "/opt/stack/glance/glance/tests/unit/test_store_image.py", line 788, in test_bad_metadata_not_dict
+ store.__str__().AndReturn(('hello'))
AttributeError: 'str' object has no attribute 'AndReturn'
-
======================================================================
ERROR: glance.tests.unit.test_store_image.TestStoreAddToBackend.test_bad_nonunicode_dict_list
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
- File "/opt/stack/glance/glance/tests/unit/test_store_image.py", line 782, in test_bad_nonunicode_dict_list
- self._bad_metadata(m)
- File "/opt/stack/glance/glance/tests/unit/test_store_image.py", line 713, in _bad_metadata
- store.__str__().AndReturn(('hello'))
+ File "/opt/stack/glance/glance/tests/unit/test_store_image.py", line 782, in test_bad_nonunicode_dict_list
+ self._bad_metadata(m)
+ File "/opt/stack/glance/glance/tests/unit/test_store_image.py", line 713, in _bad_metadata
+ store.__str__().AndReturn(('hello'))
AttributeError: 'str' object has no attribute 'AndReturn'
-
======================================================================
ERROR: glance.tests.unit.test_store_image.TestStoreAddToBackend.test_bad_top_level_nonunicode
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
- File "/opt/stack/glance/glance/tests/unit/test_store_image.py", line 776, in test_bad_top_level_nonunicode
- self._bad_metadata(metadata)
- File "/opt/stack/glance/glance/tests/unit/test_store_image.py", line 713, in _bad_metadata
- store.__str__().AndReturn(('hello'))
+ File "/opt/stack/glance/glance/tests/unit/test_store_image.py", line 776, in test_bad_top_level_nonunicode
+ self._bad_metadata(metadata)
+ File "/opt/stack/glance/glance/tests/unit/test_store_image.py", line 713, in _bad_metadata
+ store.__str__().AndReturn(('hello'))
AttributeError: 'str' object has no attribute 'AndReturn'
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1212625
Title:
'str' object has no attribute 'AndReturn'
Status in OpenStack Image Registry and Delivery Service (Glance):
In Progress
Bug description:
Fix up for review here: https://review.openstack.org/#/c/49526/
======================================================================
ERROR: glance.tests.unit.test_store_image.TestStoreAddToBackend.test_bad_metadata_not_dict
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File "/opt/stack/glance/glance/tests/unit/test_store_image.py", line 788, in test_bad_metadata_not_dict
store.__str__().AndReturn(('hello'))
AttributeError: 'str' object has no attribute 'AndReturn'
======================================================================
ERROR: glance.tests.unit.test_store_image.TestStoreAddToBackend.test_bad_nonunicode_dict_list
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File "/opt/stack/glance/glance/tests/unit/test_store_image.py", line 782, in test_bad_nonunicode_dict_list
self._bad_metadata(m)
File "/opt/stack/glance/glance/tests/unit/test_store_image.py", line 713, in _bad_metadata
store.__str__().AndReturn(('hello'))
AttributeError: 'str' object has no attribute 'AndReturn'
======================================================================
ERROR: glance.tests.unit.test_store_image.TestStoreAddToBackend.test_bad_top_level_nonunicode
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File "/opt/stack/glance/glance/tests/unit/test_store_image.py", line 776, in test_bad_top_level_nonunicode
self._bad_metadata(metadata)
File "/opt/stack/glance/glance/tests/unit/test_store_image.py", line 713, in _bad_metadata
store.__str__().AndReturn(('hello'))
AttributeError: 'str' object has no attribute 'AndReturn'
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1212625/+subscriptions