#NEWLINE# def test_POST_form_multiple_values( httpbin_both ) : #NEWLINE# #INDENT# r = http ( '--form' , 'POST' , ( httpbin_both + '/post' ) , 'foo=bar' , 'foo=baz' ) #NEWLINE# assert ( HTTP_OK in r ) #NEWLINE# assert ( r . json [ 'form' ] == { #NEWLINE# #INDENT# 'foo' : [ 'bar' , 'baz' ] , #NEWLINE# #UNINDENT# } )