#NEWLINE# def test_can_fetch_records_greater_than_1( self ) : #NEWLINE# #INDENT# expected = TestModel . objects . filter ( foo__gt = 1 ) #NEWLINE# actual = TestModel . objects . filter ( ( TestModel . foo > 1 ) ) #NEWLINE# self . assertEqual ( list ( actual ) , list ( expected ) )