← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1220919] Re: run_test fails due to store.__str__().AndReturn(('hello')) [11:12] <nikhil> AttributeError: 'str' object has no attribute 'AndReturn'

 

** Changed in: glance
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1220919

Title:
  run_test fails due to store.__str__().AndReturn(('hello')) [11:12]
  <nikhil> AttributeError: 'str' object has no attribute 'AndReturn'

Status in OpenStack Image Registry and Delivery Service (Glance):
  Invalid

Bug description:
  When running run_tests the following error occurs:

  
  ======================================================================
  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 913, in test_bad_metadata_not_dict
      store.__str__().AndReturn(('hello'))
  AttributeError: 'str' object has no attribute 'AndReturn'

  
  For some reason this does not break tox.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1220919/+subscriptions