From 9b36825c1eef9bf218d1abeb63c2587b74892329 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 21 Nov 2011 19:35:44 -0800 Subject: [PATCH] tests/: fixed tests so they can be run individually --- tests/testcomponent.py | 3 +-- tests/testdecoding.py | 2 +- tests/testgraphers.py | 4 +--- tests/testinputadapter.py | 2 +- tests/testtranscoding.py | 3 +-- 5 files changed, 5 insertions(+), 9 deletions(-) diff --git a/tests/testcomponent.py b/tests/testcomponent.py index a06952c..c5c3e31 100644 --- a/tests/testcomponent.py +++ b/tests/testcomponent.py @@ -1,6 +1,5 @@ - from timeside.component import * -from unit_timeside import TestCase, TestRunner +from unit_timeside import * __all__ = ['TestComponentArchitecture'] diff --git a/tests/testdecoding.py b/tests/testdecoding.py index c847c4c..45c787c 100644 --- a/tests/testdecoding.py +++ b/tests/testdecoding.py @@ -1,5 +1,5 @@ from timeside.decoder import * -from unit_timeside import TestCase, TestRunner +from unit_timeside import * import os.path diff --git a/tests/testgraphers.py b/tests/testgraphers.py index 622eeda..87be616 100644 --- a/tests/testgraphers.py +++ b/tests/testgraphers.py @@ -1,14 +1,12 @@ - from timeside.core import * from timeside.decoder import * from timeside.analyzer import * from timeside.encoder import * from timeside.grapher import * from timeside.api import * - from timeside.component import * -from unit_timeside import TestCase, TestRunner +from unit_timeside import * import os.path diff --git a/tests/testinputadapter.py b/tests/testinputadapter.py index 531866a..9dd400f 100644 --- a/tests/testinputadapter.py +++ b/tests/testinputadapter.py @@ -1,5 +1,5 @@ from timeside.core import FixedSizeInputAdapter -from unit_timeside import TestCase, TestRunner +from unit_timeside import * import numpy class TestFixedSizeInputAdapter(TestCase): diff --git a/tests/testtranscoding.py b/tests/testtranscoding.py index 617b014..259e707 100644 --- a/tests/testtranscoding.py +++ b/tests/testtranscoding.py @@ -3,10 +3,9 @@ from timeside.decoder import * from timeside.analyzer import * from timeside.encoder import * from timeside.api import * - from timeside.component import * -from unit_timeside import TestCase, TestRunner +from unit_timeside import * import os.path -- 2.39.5