#NEWLINE# def test_parsevars( ) : #NEWLINE# #INDENT# e = make_post ( b'a=1&b=2&c=3&b=4' ) #NEWLINE# d = parse_formvars ( e ) #NEWLINE# assert isinstance ( d , MultiDict ) #NEWLINE# assert ( d == MultiDict ( [ ( 'a' , '1' ) , ( 'b' , '2' ) , ( 'c' , '3' ) , ( 'b' , '4' ) ] ) ) #NEWLINE# assert ( d [ 'paste.parsed_formvars' ] == ( d , e [ 'wsgi.input' ] ) )