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

2007-03-25 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Stefan, you just created a dependency on the CMF in the  
PluggableAuthService, which has nothing to do with the CMF. There has  
to be a better solution, otherwise the checkin must be reverted.


jens


On 25 Mar 2007, at 17:09, Stefan H. Holek wrote:


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

___
Checkins mailing list
[EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/checkins


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFGBp/XRAx5nvEhZLIRAsdAAJsF55hb5aM7GwLp2uTc0LthcbKohQCgtdxj
GCY4X5XDPcu4HsHun7e3G9o=
=eR4B
-END PGP SIGNATURE-
___
Zope-PAS mailing list
Zope-PAS@zope.org
http://mail.zope.org/mailman/listinfo/zope-pas


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

2007-03-25 Thread Stefan H. Holek

Whoops, reverted.

Stefan


On 25. Mär 2007, at 18:14, Jens Vagelpohl wrote:

Stefan, you just created a dependency on the CMF in the  
PluggableAuthService, which has nothing to do with the CMF. There  
has to be a better solution, otherwise the checkin must be reverted.


--
It doesn't necessarily do it in chronological order, though.
  --Douglas Adams


___
Zope-PAS mailing list
Zope-PAS@zope.org
http://mail.zope.org/mailman/listinfo/zope-pas