#NEWLINE# def assertEqualQuery( self , * args ) : #NEWLINE# #INDENT# ' Creates dicts out of given strings and compares those dicts ' #NEWLINE# d = [ ] #NEWLINE# for arg in args : #NEWLINE# #INDENT# d += parse_qs ( arg ) #NEWLINE# #UNINDENT# ( self . assertEqual ( x , y , 'Query strings do NOT match' ) for x in d for y in d )