Pass key data instead of interface object
Update to match change in ``charms.openstack`` Depends-On: If1d645f4708e27b724f93cac0e14431137c885d7 Change-Id: I01053ff88e4dba58893dc20e171095f62524f480
This commit is contained in:
@@ -139,8 +139,8 @@ class TestCephRBDMirrorHandlers(test_utils.PatchHelper):
|
||||
endpoint_local.key = 'akey'
|
||||
handlers.render_stuff(endpoint_local, endpoint_remote)
|
||||
self.crm_charm.configure_ceph_keyring.assert_has_calls([
|
||||
mock.call(endpoint_local, cluster_name=None),
|
||||
mock.call(endpoint_remote, cluster_name='remote'),
|
||||
mock.call(endpoint_local.key, cluster_name=None),
|
||||
mock.call(endpoint_remote.key, cluster_name='remote'),
|
||||
])
|
||||
self.crm_charm.render_with_interfaces.assert_called_once_with(
|
||||
(endpoint_local, endpoint_remote))
|
||||
|
||||
Reference in New Issue
Block a user