def test_module_parameters_state_absent(self): args = dict(state='absent') p = ModuleParameters(params=args) assert p.state == 'absent'
def test_module_parameters_state_disabled(self): args = dict(state='disabled') p = ModuleParameters(params=args) assert p.state == 'disabled' assert p.enabled is None assert p.disabled is True
def test_module_parameters_state_present(self): args = dict(state='present') p = ModuleParameters(params=args) assert p.state == 'present' assert p.enabled is True