#NEWLINE# def test_isOpenID1( self ) : #NEWLINE# #INDENT# v1_namespaces = [ 'http://openid.net/signon/1.1' , 'http://openid.net/signon/1.0' ] #NEWLINE# for ns in v1_namespaces : #NEWLINE# #INDENT# m = message . Message ( ns ) #NEWLINE# self . failUnless ( m . isOpenID1 ( ) , ( '%r not recognized as OpenID 1' % ( ns , ) ) ) #NEWLINE# self . failUnlessEqual ( ns , m . getOpenIDNamespace ( ) ) #NEWLINE# self . failUnless ( m . namespaces . isImplicit ( ns ) , m . namespaces . getNamespaceURI ( message . NULL_NAMESPACE ) )