]> git.parisson.com Git - timeside.git/commitdiff
fix test analyzer 3
authoryomguy <yomguy@parisson.com>
Wed, 19 Oct 2011 09:28:08 +0000 (09:28 +0000)
committeryomguy <yomguy@parisson.com>
Wed, 19 Oct 2011 09:28:08 +0000 (09:28 +0000)
timeside/tests/api/test_analyzer3.py

index 31b4604ea686438cf3c1224e32c4a2aa95cf7d79..f0a0947bfbcb4b88f81a69c9332087f66edc86fa 100644 (file)
@@ -27,7 +27,7 @@ class TestAnalyzer:
         print {'name':self.analyzer.name(),
                             'id':self.analyzer.id(),
                             'unit':self.analyzer.unit(),
-                            'value':str(value)}
+                            'value':str(analyzer.value())}
 
 test = TestAnalyzer(sys.argv[-1])
 test.process()