#NEWLINE# def test_can_fetch_records_that_were_created_at_the_first_day_of_any_year( self ) : #NEWLINE# #INDENT# expected = TestModel . objects . filter ( created_at__day = 1 , created_at__month = 1 ) #NEWLINE# actual = TestModel . objects . filter ( ( ( TestModel . created_at . day == 1 ) & ( TestModel . created_at . month == 1 ) ) ) #NEWLINE# self . assertEqual ( list ( actual ) , list ( actual ) )