From c34415df9da7e80c61b550c15ab97d5acf5ccc4e Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Tue, 5 Aug 2014 10:14:46 +0300 Subject: [PATCH] fix tests' imports --- tests/test_common.py | 2 +- tests/test_ecc.py | 2 +- tests/test_full.py | 6 +++--- tests/test_sampling.py | 2 +- tests/test_sigproc.py | 6 +++--- tests/test_stream.py | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/tests/test_common.py b/tests/test_common.py index 6eadb10..c5e32aa 100644 --- a/tests/test_common.py +++ b/tests/test_common.py @@ -1,4 +1,4 @@ -import common +from amodem import common import numpy as np diff --git a/tests/test_ecc.py b/tests/test_ecc.py index 3fba091..c509f13 100644 --- a/tests/test_ecc.py +++ b/tests/test_ecc.py @@ -1,4 +1,4 @@ -import ecc +from amodem import ecc import random import itertools diff --git a/tests/test_full.py b/tests/test_full.py index c2ed8e7..564e8af 100644 --- a/tests/test_full.py +++ b/tests/test_full.py @@ -2,9 +2,9 @@ import os from cStringIO import StringIO import numpy as np -import send -import recv -import common +from amodem import send +from amodem import recv +from amodem import common import logging logging.basicConfig(level=logging.DEBUG, diff --git a/tests/test_sampling.py b/tests/test_sampling.py index b126ff2..1a0620c 100644 --- a/tests/test_sampling.py +++ b/tests/test_sampling.py @@ -1,4 +1,4 @@ -import sampling +from amodem import sampling import numpy as np diff --git a/tests/test_sigproc.py b/tests/test_sigproc.py index 5cbdf0d..450d1be 100644 --- a/tests/test_sigproc.py +++ b/tests/test_sigproc.py @@ -1,8 +1,8 @@ -import sigproc -import itertools -import config +from amodem import sigproc +from amodem import config import numpy as np import random +import itertools def test_qam(): diff --git a/tests/test_stream.py b/tests/test_stream.py index 9969077..0d9fa40 100644 --- a/tests/test_stream.py +++ b/tests/test_stream.py @@ -1,5 +1,5 @@ -import stream -import wave +from amodem import stream +from amodem import wave def test():