#NEWLINE# def test_onealias( self ) : #NEWLINE# #INDENT# nsm = message . NamespaceMap ( ) #NEWLINE# uri = 'http://example.com/foo' #NEWLINE# alias = 'foo' #NEWLINE# nsm . addAlias ( uri , alias ) #NEWLINE# self . failUnless ( ( nsm . getNamespaceURI ( alias ) == uri ) ) #NEWLINE# self . failUnless ( ( nsm . getAlias ( uri ) == alias ) )