#NEWLINE# def test_load_paste_app_with_paste_config_file( self ) : #NEWLINE# #INDENT# paste_config_file = os . path . join ( os . getcwd ( ) , 'etc/glance-registry-paste.ini' ) #NEWLINE# paste_group = { #NEWLINE# #INDENT# 'paste_deploy' : { #NEWLINE# #INDENT# 'config_file' : paste_config_file , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } #NEWLINE# expected_middleware = context . ContextMiddleware #NEWLINE# self . _do_test_load_paste_app ( expected_middleware , self , paste_copy = False )