[Checkins] SVN: PluggableAuthService/trunk/plugins/tests/test_exportimport.py Made tests pass with GenericSetup trunk.

Stefan H. Holek stefan at epy.co.at
Sun Mar 25 11:09:38 EDT 2007


Log message for revision 73609:
  Made tests pass with GenericSetup trunk.
  

Changed:
  U   PluggableAuthService/trunk/plugins/tests/test_exportimport.py

-=-
Modified: PluggableAuthService/trunk/plugins/tests/test_exportimport.py
===================================================================
--- PluggableAuthService/trunk/plugins/tests/test_exportimport.py	2007-03-25 14:38:56 UTC (rev 73608)
+++ PluggableAuthService/trunk/plugins/tests/test_exportimport.py	2007-03-25 15:09:38 UTC (rev 73609)
@@ -34,7 +34,11 @@
     from Products.GenericSetup.tests.conformance \
             import ConformsToIFilesystemImporter
 
-    from Products.GenericSetup.tests.common import SecurityRequestTest
+    try:
+        from Products.GenericSetup.tests.common import SecurityRequestTest
+    except ImportError:
+        from Products.CMFCore.tests.base.testcase import SecurityRequestTest
+
     from Products.GenericSetup.tests.common import DOMComparator
     from Products.GenericSetup.tests.common import DummyExportContext
     from Products.GenericSetup.tests.common import DummyImportContext



More information about the Checkins mailing list