'Test get_swift_conf_md5 failure by failing file open'

def test_get_swift_conf_md5_fail(self):

    with mock.patch('swift.common.middleware.recon.md5_hash_for_file', side_effect=IOError):
        resp = self.real_app_get_swift_conf_md5()
    self.assertIsNone(resp['/etc/swift/swift.conf'])
