We use an offline_hosts set for marking offline hosts
rather than the host status so changing this unit test
to reflect that
Signed-off-by: Adam King <adking@redhat.com>
assert len(cephadm_module.cache.get_daemons_by_type('mgr')) == 3
# put one host in offline state and one host in maintenance state
- cephadm_module.inventory._inventory['test2']['status'] = 'offline'
+ cephadm_module.offline_hosts = {'test2'}
cephadm_module.inventory._inventory['test3']['status'] = 'maintenance'
cephadm_module.inventory.save()