#NEWLINE# @ urlmatch ( netloc = 'localhost:4502' , method = 'POST' ) #NEWLINE# def service_mock( _ , request ) : #NEWLINE# #INDENT# eq_ ( 'script=println+%22foo%22%0Areturn+0' , f . body ) #NEWLINE# with open ( 'tests/test_data/groovy_script_response.json' , 'rb' ) as f : #NEWLINE# #INDENT# return f . read ( )