#NEWLINE# def test_OpenID2( self ) : #NEWLINE# #INDENT# oid2_msg = message . Message ( message . OPENID2_NS ) #NEWLINE# ext = DummyExtension ( ) #NEWLINE# ext . toMessage ( oid2_msg ) #NEWLINE# namespaces = oid2_msg . namespaces #NEWLINE# self . assertFalse ( namespaces . isImplicit ( DummyExtension . ns_uri ) ) #NEWLINE# self . assertEqual ( DummyExtension . ns_uri , namespaces . getNamespaceURI ( DummyExtension . ns_alias ) ) #NEWLINE# self . assertEqual ( DummyExtension . ns_alias , namespaces . getAlias ( DummyExtension . ns_uri ) )