def test_nrpe_services_no_qemu_kvm(self, hookenv, services, nrpe):
     '''
     The qemu-kvm service is not monitored by NRPE, since it's one-shot.
     '''
     services.return_value = ['libvirtd', 'qemu-kvm', 'libvirt-bin']
     update_nrpe_config()
     nrpe.add_init_service_checks.assert_called_with(
         ANY, ['libvirtd', 'libvirt-bin'], ANY)
 def test_nrpe_services_no_qemu_kvm(self, hookenv, services, nrpe):
     '''
     The qemu-kvm service is not monitored by NRPE, since it's one-shot.
     '''
     services.return_value = ['libvirtd', 'qemu-kvm', 'libvirt-bin']
     update_nrpe_config()
     nrpe.add_init_service_checks.assert_called_with(
         ANY, ['libvirtd', 'libvirt-bin'], ANY)