[out] = wait(cephadm_module, c)
match_glob(out, "Deployed nfs.name.* on host 'test'")
+ assert_rm_daemon(cephadm_module, 'nfs.name.test', 'test')
+
+ # Hack. We never created the service, but we now need to remove it.
+ # this is in contrast to the other services, which don't create this service
+ # automatically.
+ assert_rm_service(cephadm_module, 'nfs.name')
+
@mock.patch("cephadm.module.CephadmOrchestrator._run_cephadm", _run_cephadm('{}'))
+ @mock.patch("cephadm.module.CephadmOrchestrator.rados", mock.MagicMock())
def test_iscsi(self, cephadm_module):
with self._with_host(cephadm_module, 'test'):
ps = PlacementSpec(hosts=['test'], count=1)