#NEWLINE# def test_root_path( self ) : #NEWLINE# #INDENT# tests = ( '/foo/bar/' , '/foo/bar/baz' , '/foo/baz/../bar/blub' ) #NEWLINE# for test in tests : #NEWLINE# #INDENT# rm = ResourceManager ( ) #NEWLINE# rm . add_path ( './baz/' , test ) #NEWLINE# self . assertEqual ( rm . path , [ '/foo/bar/baz/' ] ) #NEWLINE# #UNINDENT# for test in tests : #NEWLINE# #INDENT# rm = ResourceManager ( ) #NEWLINE# rm . add_path ( 'baz/' , test ) #NEWLINE# self . assertEqual ( rm . path , [ '/foo/bar/baz/' ] )