Comment 1 for bug 1285905

Revision history for this message
Bill Owen (billowen) wrote :

Note: in testing these changes, a conflict between the tests in test_backup_ceph and test_utils caused two tests using mock_open to fail.
For more details see:
http://paste.openstack.org/show/70322/ and
http://paste.openstack.org/show/70372/

After quite a bit of head scratching, the issue was isolated to line 135 of paste 70372. But, no straight forward fix, or relationship between the two problems was found.

To work around the problem, I modified test_utils to test_read_cached_file and test_read_modified_cached_file to use a local impl of mock_open rather than mock.mock_open.