Skip to content

Commit

Permalink
Test case fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitkpandey committed Aug 17, 2021
1 parent 0492f2d commit 4c4aa17
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/ops/tasks/detectionTypes/tests/test_lifetime.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,11 @@ def testPercentChange():
'highDate': '2020-07-30T00:00:00',
'lowVal': 340.0,
'lowDate': '2020-07-26T00:00:00',
'firstDate': '2020-07-12T00:00:00',
'anomalyTimeISO': '2020-07-30T00:00:00',
'anomalyTime': 1596067200000.0}}

assert lifetimeDetect(df, "day") == output

assert lifetimeDetect(df, "day") == output


0 comments on commit 4c4aa17

Please sign in to comment.