de-linting and found/fixed a bug in unittest

This commit is contained in:
fawce
2012-02-12 22:35:47 -05:00
parent e22a66b1ae
commit 269b72f356
5 changed files with 33 additions and 25 deletions
+1 -3
View File
@@ -5,8 +5,6 @@ TODO: add trailing stop
"""
import datetime
import qsim.util as qutil
from qsim.core import BaseTransform
class MovingAverage(BaseTransform):
@@ -42,6 +40,6 @@ class MovingAverage(BaseTransform):
#self.average = total/len(self.events)
#self.state['value'] = self.average
self.stat['value'] = 10
self.state['value'] = 10
return self.state