Skip to content

Commit

Permalink
Add test coverage
Browse files Browse the repository at this point in the history
* Remove extraneous whitespace on a blank line in graphite/render/functions.py
* Add tests for movingMedian()
* Add tests for movingAverage()
* First cut at test coverage of holtWinters* functions.
  • Loading branch information
cbowman0 committed Jun 21, 2016
1 parent a0d1afb commit c0ae415
Show file tree
Hide file tree
Showing 2 changed files with 439 additions and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/graphite/render/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2328,7 +2328,7 @@ def holtWintersConfidenceBands(requestContext, seriesList, delta=3):
windowPoints = previewSeconds / data.step
deviation = TimeSeries(data.name, data.start + previewSeconds, data.end, data.step, data[windowPoints:])
deviation.pathExpression = data.pathExpression

seriesLength = len(forecast)
i = 0
upperBand = list()
Expand Down
Loading

0 comments on commit c0ae415

Please sign in to comment.