[conduit: 7/138] Fix imports
- From: John Carr <johncarr src gnome org>
- To: svn-commits-list gnome org
- Subject: [conduit: 7/138] Fix imports
- Date: Thu, 21 May 2009 03:27:32 -0400 (EDT)
commit b30dc66ed35e32b49aa82a995591181c7d6fd22a
Author: John Carr <john carr unrouted co uk>
Date: Sun Apr 19 14:22:41 2009 +0100
Fix imports
---
test/soup/test_dataprovider.py | 6 +++---
test/soup/test_synchronization.py | 8 ++++----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/test/soup/test_dataprovider.py b/test/soup/test_dataprovider.py
index f48beb0..b3e81e5 100644
--- a/test/soup/test_dataprovider.py
+++ b/test/soup/test_dataprovider.py
@@ -1,8 +1,8 @@
import unittest
-import modules
+import soup
-class TestDataprovider(BaseTest):
+class TestDataprovider(soup.BaseTest):
def test_add(self):
pass
@@ -26,7 +26,7 @@ class TestDataproviders(unittest.TestSuite):
def __init__(self, tests=None):
tests = []
- for mod in modules.all():
+ for mod in soup.modules.all():
tests.append(TestDataprovider(mod))
super(TestDataproviders, self).__init__(tests)
diff --git a/test/soup/test_synchronization.py b/test/soup/test_synchronization.py
index 19b16ff..427b13d 100644
--- a/test/soup/test_synchronization.py
+++ b/test/soup/test_synchronization.py
@@ -1,8 +1,8 @@
import unittest
-import modules
+import soup
-class TestSynchronizationPair(BaseTest):
+class TestSynchronizationPair(soup.BaseTest):
def __init__(self, source, sink):
super(TestSynchronizationPair, self).__init__(self)
@@ -17,8 +17,8 @@ class TestSynchronization(unittest.TestSuite):
def __init__(self, tests=None):
""" Generate TestSuite for all module wrapper pairs """
tests = []
- for a in modules.all():
- for b in modules.all():
+ for a in soup.modules.all():
+ for b in soup.modules.all():
tests.append(TestSynchronizationPair(a, b))
super(TestSynchronization, self).__init__(tests)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]