diff sat_pubsub/test/test_storage.py @ 234:51af2ed8bd50

replaced idavoll imports by sat_pubsub imports
author Goffi <goffi@goffi.org>
date Thu, 17 May 2012 01:53:12 +0200
parents 564ae55219e1
children 64f780413b82
line wrap: on
line diff
--- a/sat_pubsub/test/test_storage.py	Thu May 17 01:48:39 2012 +0200
+++ b/sat_pubsub/test/test_storage.py	Thu May 17 01:53:12 2012 +0200
@@ -62,7 +62,7 @@
 from twisted.internet import defer
 from twisted.words.xish import domish
 
-from idavoll import error, iidavoll
+from sat_pubsub import error, iidavoll
 
 OWNER = jid.JID('owner@example.com/Work')
 SUBSCRIBER = jid.JID('subscriber@example.com/Home')
@@ -484,8 +484,8 @@
 class MemoryStorageStorageTestCase(unittest.TestCase, StorageTests):
 
     def setUp(self):
-        from idavoll.memory_storage import Storage, PublishedItem, LeafNode
-        from idavoll.memory_storage import Subscription
+        from sat_pubsub.memory_storage import Storage, PublishedItem, LeafNode
+        from sat_pubsub.memory_storage import Subscription
 
         defaultConfig = Storage.defaultConfig['leaf']
 
@@ -528,7 +528,7 @@
     dbpool = None
 
     def setUp(self):
-        from idavoll.pgsql_storage import Storage
+        from sat_pubsub.pgsql_storage import Storage
         from twisted.enterprise import adbapi
         if self.dbpool is None:
             self.__class__.dbpool = adbapi.ConnectionPool('psycopg2',