#NEWLINE# def _test_datespan_shifts( self , expected_start , months = 0 , days = 0 ) : #NEWLINE# #INDENT# idef = CouchIndicatorDef ( fixed_datespan_months = months , fixed_datespan_days = days ) #NEWLINE# dspan = DateSpan ( startdate = parse ( '2014-09-15T10:00:00' ) , enddate = parse ( '2014-09-30T11:00:00' ) ) #NEWLINE# dspan = idef . _apply_datespan_shifts ( dspan ) #NEWLINE# self . assertEqual ( dspan . enddate , parse ( '2014-09-30T23:59:59.999999' ) ) #NEWLINE# self . assertEqual ( dspan . startdate , parse ( expected_start ) )