コード例 #1
0
 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()
コード例 #2
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')
コード例 #3
0
 def test_ceph_joined(self):
     hooks.ceph_joined()
     self.apt_install.assert_called_with(['ceph-common'], fatal=True)
コード例 #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()