#NEWLINE# def test_build_days( self ) : #NEWLINE# #INDENT# 'Test private method to build days based off ingested CSV' #NEWLINE# form = ScheduleSectionForm ( schedule = self . schedule ) #NEWLINE# data = ( { #NEWLINE# #INDENT# 'date' : datetime . strftime ( form . today , '%m/%d/%Y' ) , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# 'date' : datetime . strftime ( self . today , '%m/%d/%Y' ) , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# 'date' : datetime . strftime ( self . tomorrow , '%m/%d/%Y' ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( 0 , Day . objects . all ( ) . count ( ) ) #NEWLINE# form . _build_days ( data ) #NEWLINE# self . assertEqual ( 2 , Day . objects . all ( ) . count ( ) )