#NEWLINE# def test_all_events( self ) : #NEWLINE# #INDENT# last = ( now_datetime ( ) - relativedelta ( hours = 2 ) ) #NEWLINE# enqueue_applicable_events ( frappe . local . site , now_datetime ( ) , self ) #NEWLINE# self . assertTrue ( ( 'all' in frappe . flags . ran_schedulers ) )