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:
Frode Nordahl
2019-04-23 15:33:34 +02:00
parent 2312f661a6
commit 011a5d3b67
2 changed files with 3 additions and 3 deletions

View File

@@ -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))