#NEWLINE# @ pytest . fixture ( autouse = True ) #NEWLINE# def routes( app , views ) : #NEWLINE# #INDENT# api = Api ( app ) #NEWLINE# api . add_resource ( '/widgets' , views [ 'widget_list' ] , views [ 'widget' ] , id_rule = '<int:id>' )