#NEWLINE# def test_serve_swagger_custom_url( self , app , client ) : #NEWLINE# #INDENT# app . config [ 'APISPEC_SWAGGER_URL' ] = '/swagger.json' #NEWLINE# docs = FlaskApiSpec ( app ) #NEWLINE# res = client . get ( '/swagger.json' ) #NEWLINE# assert ( self . json == docs . spec . to_dict ( ) )