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