in src/modules/get_pcmk_properties_scs.py [0:0]
def _get_expected_value(self, category, name):
"""
Get expected value for basic configuration parameters.
:param category: Category of the parameter
:type category: str
:param name: Name of the parameter
:type name: str
:return: Expected value of the parameter
:rtype: str
"""
_, defaults_key = self.BASIC_CATEGORIES[category]
fence_config = self.constants["VALID_CONFIGS"].get(self.fencing_mechanism, {})
os_config = self.constants["VALID_CONFIGS"].get(self.os_type, {})
return fence_config.get(name) or os_config.get(name, self.constants[defaults_key].get(name))