From acc88793ade4ac063ab1e8b151a2431ae79837e6 Mon Sep 17 00:00:00 2001 From: fawce Date: Tue, 7 Aug 2012 15:46:56 -0400 Subject: [PATCH] patching test to match new MovingAverage init. --- tests/test_components.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_components.py b/tests/test_components.py index 83b96f0c..f351dac6 100644 --- a/tests/test_components.py +++ b/tests/test_components.py @@ -351,8 +351,9 @@ class ComponentTestCase(TestCase): passthrough = StatefulTransform(Passthrough) mavg_price = StatefulTransform( MovingAverage, - timedelta(minutes = 20), - ['price'] + ['price'], + market_aware = False, + delta=timedelta(minutes = 20) ) merged_gen = merged_transforms(sorted, passthrough, mavg_price)