def test_node_template_with_wrong_properties_keyname(self):
        tpl_snippet = '''
        node_templates:
          mysql_dbms:
            type: tosca.nodes.DBMS
            propertiessss:
              root_password: aaa
              port: 3376
        '''
        expectedmessage = _('Node template "mysql_dbms" contains unknown '
                            'field "propertiessss". 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 'properties' given as 'propertiessss'.
dataset/ETHPy150Open openstack/tosca-parser/toscaparser/tests/test_toscatplvalidation.py/ToscaTemplateValidationTest.test_node_template_with_wrong_properties_keyname