#NEWLINE# def test_q_should( self ) : #NEWLINE# #INDENT# q = Q ( foo__match = 'abc' , bar__match = 'def' , should = True ) #NEWLINE# eq_ ( sorted ( q . should_q ) , [ ( 'bar__match' , 'def' ) , ( 'foo__match' , 'abc' ) ] ) #NEWLINE# eq_ ( sorted ( q . must_q ) , [ ] ) #NEWLINE# eq_ ( sorted ( q . must_not_q ) , [ ] )