#NEWLINE# def testDaylengthDefaultValue( self ) : #NEWLINE# #INDENT# '\n        Daylength should be 1 if missing\n        ' #NEWLINE# xmlparamsfile = ( '%s/minimalconfig.xml' % self . fixturesdir ) #NEWLINE# params = XmlParamsParser ( xmlparamsfile ) #NEWLINE# self . assertEqual ( params [ 'engines' ] [ 0 ] [ 'daylength' ] , 1 )