#NEWLINE# def test_equals_operator_generates_the_right_expression_for_the_exact_hour_lookup_when_comparing_to_another_field( self ) : #NEWLINE# #INDENT# sut = self . system_under_test #NEWLINE# expected = Q ( field__hour = F ( 'field2' ) ) #NEWLINE# actual = ( sut . hour == self . field ) #NEWLINE# self . assertEqual ( actual , sut )