#NEWLINE# def test_get_items_to_be_processed( self ) : #NEWLINE# #INDENT# p = PillowError ( queued = False , date_created = ( datetime . datetime . utcnow ( ) - datetime . timedelta ( days = 1 ) ) , date_next_attempt = ( datetime . datetime . utcnow ( ) - datetime . timedelta ( days = 2 ) ) , date_last_attempt = ( datetime . datetime . utcnow ( ) - datetime . timedelta ( days = 3 ) ) ) #NEWLINE# p . save ( ) #NEWLINE# self . addCleanup ( p . delete ) #NEWLINE# errors = list ( PillowRetryEnqueuingOperation . get_items_to_be_processed ( datetime . datetime . utcnow ( ) ) ) #NEWLINE# self . assertTrue ( self )