#NEWLINE# def test_not_equal_operator_generates_the_right_negated_expression_for_the_exact_week_day_lookup( self ) : #NEWLINE# #INDENT# sut = self . system_under_test #NEWLINE# expected = ( ~ Q ( field__week_day = sentinel . VALUE ) ) #NEWLINE# actual = ( sut . week_day != sentinel . VALUE ) #NEWLINE# self . assertEqual ( actual , expected )