git pull the latest code, it can work now.

** Changed in: glance
       Status: Confirmed => Fix Released

-- 
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):
  Fix Released

Bug description:
  ======================================================================
  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

-- 
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

Reply via email to