Marcnuth / AnomalyDetection

Twitter's Anomaly Detection in Pure Python
Apache License 2.0
304 stars 76 forks source link

unit tests don't run, need more test coverage #18

Closed hokiegeek2 closed 5 years ago

hokiegeek2 commented 5 years ago

When I attempt to run the test_detect_ts I get the following error:

Traceback (most recent call last): File "/var/development/git/hokiegeek2-forks/AnomalyDetection/tests/test_detect_ts.py", line 34, in test_anomaly_detect_ts(data) File "/var/development/git/hokiegeek2-forks/AnomalyDetection/tests/test_detect_ts.py", line 24, in test_anomaly_detect_ts results = detts.anomaly_detect_ts(data, max_anoms=0.02, AttributeError: 'function' object has no attribute 'anomaly_detect_ts'

Also, definitely need more unit test coverage

hokiegeek2 commented 5 years ago

Just submitted pull request

hokiegeek2 commented 5 years ago

merged, thanks @Marcnuth