#NEWLINE# def test_resources_directory( self ) : #NEWLINE# #INDENT# 'Test test resources directory finder/creator.' #NEWLINE# dummy_user = dbutil . random_name ( 'user' ) #NEWLINE# expected_path = os . path . join ( dbutil . TEST_RESOURCES_ROOT , dummy_user , 'test' , 'module' , 'suite' ) #NEWLINE# try : #NEWLINE# #INDENT# path = dbutil . resources_directory ( dummy_user , 'test' , 'module' , 'suite' ) #NEWLINE# self . check_directory ( path , expected_path ) #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# os . removedirs ( path )