#NEWLINE# def test_retrieve( client ) : #NEWLINE# #INDENT# response = client . get ( '/widgets/1/2' ) #NEWLINE# assert ( response . status_code == 200 ) #NEWLINE# assert ( helpers . get_data ( response ) == { #NEWLINE# #INDENT# 'id_1' : '1' , #NEWLINE# 'id_2' : '2' , #NEWLINE# 'name' : 'Foo' , #NEWLINE# #UNINDENT# } )