def test_ceph_joined(self):
     self.libvirt_daemon.return_value = 'libvirt-bin'
     hooks.ceph_joined()
     self.apt_install.assert_called_with(['ceph-common'], fatal=True)
     self.service_restart.assert_called_with('libvirt-bin')
     self.libvirt_daemon.assert_called()
     self.send_application_name.assert_called_once_with()
 def test_ceph_joined(self):
     hooks.ceph_joined()
     self.apt_install.assert_called_with(['ceph-common'], fatal=True)
     self.service_restart.assert_called_with('libvirt-bin')
 def test_ceph_joined(self):
     hooks.ceph_joined()
     self.apt_install.assert_called_with(['ceph-common'], fatal=True)
Example #4
0
 def test_ceph_joined(self):
     hooks.ceph_joined()
     self.apt_install.assert_called_with(['ceph-common'], fatal=True)
     self.service_restart.assert_called_with('libvirt-bin')
 def test_ceph_joined(self):
     self.libvirt_daemon.return_value = 'libvirt-bin'
     hooks.ceph_joined()
     self.apt_install.assert_called_with(['ceph-common'], fatal=True)
     self.service_restart.assert_called_with('libvirt-bin')
     self.libvirt_daemon.assert_called()