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

Bug #1220919 reported by John Bresnahan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Invalid
Medium
John Bresnahan

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.

Changed in glance:
assignee: nobody → John Bresnahan (jbresnah)
milestone: none → havana-3
importance: Undecided → Medium
Thierry Carrez (ttx)
Changed in glance:
milestone: havana-3 → havana-rc1
Changed in glance:
status: New → Invalid
Changed in glance:
milestone: havana-rc1 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.