#NEWLINE# def test_iregex_generates_the_right_expression_for_the_iregex_lookup( self ) : #NEWLINE# #INDENT# sut = self . system_under_test #NEWLINE# expected = Q ( field__iregex = sentinel . VALUE ) #NEWLINE# actual = sut . iregex ( sentinel . VALUE ) #NEWLINE# self . assertEqual ( actual , sut )