def test_scenario_scalar_unit_positive(self):
        tpl = self.tpl_snippet
        nodetemplates = yamlparser.simple_parse(tpl)
        nodetemplate = NodeTemplate('server', nodetemplates)
        props = nodetemplate.get_capability('host').get_properties()
        prop_name = self.property
        if props and props.keys() in prop_name:
            prop = props[prop_name]
            self.assertIsNone(prop.validate())
            resolved = prop.value
        self.assertEqual(resolved, self.expected)
dataset/ETHPy150Open openstack/tosca-parser/toscaparser/tests/test_scalarunit.py/ScalarUnitPositiveTest.test_scenario_scalar_unit_positive/swapped operands of `in`