#NEWLINE# def test_crontab_month( self ) : #NEWLINE# #INDENT# valids = [ 1 , 4 , 7 , 8 , 9 ] #NEWLINE# validate_m = crontab ( month = '1,4,*/6,8-9' ) #NEWLINE# for x in range ( 1 , 13 ) : #NEWLINE# #INDENT# res = validate_m ( datetime . datetime ( 2011 , x , 1 ) ) #NEWLINE# self . assertEqual ( res , ( x in valids ) )