#NEWLINE# @ override_settings ( INSTALLED_APPS = [ ] ) #NEWLINE# def test_project_root_locale( self ) : #NEWLINE# #INDENT# '\n        Test that gen_filenames also yields from the current directory (project\n        root).\n        ' #NEWLINE# old_cwd = os . getcwd ( ) #NEWLINE# os . chdir ( os . path . dirname ( __file__ ) ) #NEWLINE# current_dir = os . path . join ( os . path . dirname ( __file__ ) , 'locale' ) #NEWLINE# current_dir_mo = os . path . join ( current_dir , 'nl' , 'LC_MESSAGES' , 'django.mo' ) #NEWLINE# try : #NEWLINE# #INDENT# self . assertFileFound ( current_dir_mo ) #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# os . chdir ( self )