def test_node_template_with_wrong_interfaces_keyname(self):
        tpl_snippet = '''
        node_templates:
          mysql_dbms:
            type: tosca.nodes.DBMS
            properties:
              root_password: aaa
              port: 3376
            requirements:
              - host: server
            interfac:
              Standard:
                configure: mysql_database_configure.sh
        '''
        expectedmessage = _('Node template "mysql_dbms" contains unknown '
                            'field "interfac". 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__())
Get registration info for logical URL.
dataset/ETHPy150Open openstack/tosca-parser/toscaparser/tests/test_toscatplvalidation.py/ToscaTemplateValidationTest.test_node_template_with_wrong_interfaces_keyname--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/protocols/sip.py/IRegistry.getRegistrationInfo