#NEWLINE# def testRelativePath( self ) : #NEWLINE# #INDENT# p = self . TestPath ( 'a/b' ) #NEWLINE# self . assertTrue ( p . isValid ( ) ) #NEWLINE# self . assertFalse ( p . isEmpty ( ) ) #NEWLINE# self . assertEqual ( str ( self ) , 'a/b' ) #NEWLINE# p2 = p . copy ( ) #NEWLINE# self . assertTrue ( p2 . isValid ( ) ) #NEWLINE# self . assertFalse ( p2 . isEmpty ( ) ) #NEWLINE# self . assertEqual ( str ( p2 ) , 'a/b' )