#NEWLINE# def testReturnSelf( self ) : #NEWLINE# #INDENT# p = self . TestPath ( '/test/path' ) #NEWLINE# self . failUnless ( ( p . setFromString ( '/test' ) is p ) ) #NEWLINE# self . failUnless ( ( p . append ( 'a' ) is self ) ) #NEWLINE# self . failUnless ( ( p . truncateUntilValid ( ) is p ) )