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.
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. paste.openstack .org/show/ 70322/ and paste.openstack .org/show/ 70372/
For more details see:
http://
http://
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.