From 750cb2c88415cd1c88f62b82a85269b075a08058 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Wed, 29 Aug 2012 11:06:08 -0600 Subject: [PATCH] tests/testencoding.py: added first encoding test draft --- tests/testencoding.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/tests/testencoding.py b/tests/testencoding.py index f670cc3..07f976a 100644 --- a/tests/testencoding.py +++ b/tests/testencoding.py @@ -2,6 +2,8 @@ from math import pi from numpy import arange, sin, zeros from unit_timeside import * +from timeside.encoder.gstutils import get_loop_thread + import os.path class TestEncoding(TestCase): @@ -13,7 +15,6 @@ class TestEncoding(TestCase): import tempfile self.tmpfile = tempfile.NamedTemporaryFile(delete=True) self.sink = self.tmpfile.name - self.sink = '/tmp/foo.foo' def testWav(self): "Test wav encoding" @@ -72,12 +73,6 @@ class TestEncoding(TestCase): if self.encoder.eod : break - self.encoder.release() - - import commands - (exitstatus, outtext) = commands.getstatusoutput('sndfile-info %s' % self.sink) - #print outtext - self.tmpfile.close() if __name__ == '__main__': -- 2.39.5