[Libreoffice-commits] .: Branch 'LiboExtensionCenter' - LiboExtensionWebsite/am.LiboExtensionCenter

Andreas Mantke andreasma at kemper.freedesktop.org
Fri May 27 08:53:20 PDT 2011


 LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/tests/base.py  |   12 +++++-----
 LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/tests/base.pyc |binary
 2 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 9317994a48c9b9a3600cd2a74c4087a03b793aa7
Author: Andreas Mantke <maand at gmx.de>
Date:   Fri May 27 17:53:07 2011 +0200

    reworked base.py

diff --git a/LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/tests/base.py b/LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/tests/base.py
index 54033bc..e23bd6e 100644
--- a/LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/tests/base.py
+++ b/LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/tests/base.py
@@ -28,7 +28,7 @@ from Products.PloneTestCase.layer import PloneSite
 
 @onsetup
 def install_plugins():
-    ZopeTestCase.installPackage('collective.psc.externalstorage')
+    ZopeTestCase.installPackage('collective.lec.externalstorage')
 
 install_plugins()
 setupPloneSite(products=['am.LiboExtensionCenter',])
@@ -54,17 +54,17 @@ class LECTestCase(PloneTestCase):
     
             # loading externalstorage if present in the environment
             try:
-                import collective.psc.externalstorage
+                import collective.lec.externalstorage
             except ImportError:
                 pass
             else:
-                ext = os.path.dirname(collective.psc.externalstorage.__file__)
+                ext = os.path.dirname(collective.lec.externalstorage.__file__)
                 config = os.path.join(ext, 'configure.zcml')
                 zcml.load_config(config,
-                                 collective.psc.externalstorage)
+                                 collective.lec.externalstorage)
                 from zope.component import getGlobalSiteManager
-                from collective.psc.externalstorage.config import ESConfiguration
-                from collective.psc.externalstorage.interfaces import IESConfiguration
+                from collective.lec.externalstorage.config import ESConfiguration
+                from collective.lec.externalstorage.interfaces import IESConfiguration
                 gsm = getGlobalSiteManager()
                 gsm.registerUtility(ESConfiguration, IESConfiguration)
 
diff --git a/LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/tests/base.pyc b/LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/tests/base.pyc
index d83ba12..e502cd8 100644
Binary files a/LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/tests/base.pyc and b/LiboExtensionWebsite/am.LiboExtensionCenter/am/LiboExtensionCenter/tests/base.pyc differ


More information about the Libreoffice-commits mailing list