#NEWLINE# def test_create( client ) : #NEWLINE# #INDENT# response = helpers . request ( client , 'POST' , '/widgets?user_id=foo' , { #NEWLINE# #INDENT# 'owner_id' : 'foo' , #NEWLINE# 'name' : 'Created' , #NEWLINE# #UNINDENT# } ) #NEWLINE# assert ( response . status_code == 201 )