def test_node_template_with_wrong_capabilities_keyname(self):
        tpl_snippet = '''
        node_templates:
          mysql_database:
            type: tosca.nodes.Database
            properties:
              db_name: { get_input: db_name }
              db_user: { get_input: db_user }
              db_password: { get_input: db_pwd }
            capabilitiis:
              database_endpoint:
                properties:
                  port: { get_input: db_port }
        '''
        expectedmessage = _('Node template "mysql_database" contains unknown '
                            'field "capabilitiis". Refer to the definition to '
                            'verify valid values.')
        err = self.assertRaises(
            exception.UnknownFieldError,
            lambda: self._single_node_template_content_test(tpl_snippet))
        self.assertEqual(expectedmessage, err.__str__())
Node template keyname 'capabilities' given as 'capabilitiis'.
dataset/ETHPy150Open openstack/tosca-parser/toscaparser/tests/test_toscatplvalidation.py/ToscaTemplateValidationTest.test_node_template_with_wrong_capabilities_keyname