From 22e8fdf4fe4289fdc04e4a395d10e17e212a2811 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 14 Apr 2013 14:28:48 -0500 Subject: [PATCH] tests/test_aubio_temporal.py: rename and use unit_timeside --- tests/{testaubio_temporal.py => test_aubio_temporal.py} | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) rename tests/{testaubio_temporal.py => test_aubio_temporal.py} (75%) diff --git a/tests/testaubio_temporal.py b/tests/test_aubio_temporal.py similarity index 75% rename from tests/testaubio_temporal.py rename to tests/test_aubio_temporal.py index ec8a25b..f7a2e3b 100755 --- a/tests/testaubio_temporal.py +++ b/tests/test_aubio_temporal.py @@ -20,12 +20,8 @@ class TestAubioTemporal(TestCase): def tearDown(self): decoder = FileDecoder(self.source) (decoder | self.analyzer).run() - for r in self.analyzer.results(): - assert hasattr(r, 'id') - assert hasattr(r, 'name') - assert hasattr(r, 'unit') - assert hasattr(r, 'value') - #print 'result:', r + results = self.analyzer.results() + # print results if __name__ == '__main__': unittest.main(testRunner=TestRunner()) -- 2.39.5