#NEWLINE# def test_load_wsgid_json_file( self ) : #NEWLINE# #INDENT# '\n        If we have a wsgid.json file inside app-path, so we must use it.\n        ' #NEWLINE# app_path = os . path . join ( '../' , os . path . dirname ( __file__ ) , 'app-path' ) #NEWLINE# sys . argv [ 1 : ] = [ ( '--app-path=%s' % app_path ) ] #NEWLINE# options = parser . parse_options ( ) #NEWLINE# self . assertEquals ( 'tcp://127.0.0.1:5000' , options . recv ) #NEWLINE# self . assertEquals ( 'tcp://127.0.0.1:5001' , options . send ) #NEWLINE# self . assertEquals ( 4 , options . workers ) #NEWLINE# self . assertEquals ( True , options . debug ) #NEWLINE# self . assertEquals ( True , options . keep_alive ) #NEWLINE# self . assertEquals ( False , options . chroot ) #NEWLINE# self . assertEquals ( True , options . stdout ) #NEWLINE# self . assertEquals ( { #NEWLINE# #INDENT# 'ENV1' : 'VALUE1' , #NEWLINE# 'ENV2' : 'VALUE2' , #NEWLINE# #UNINDENT# } , options . envs )