[Zope-PAS] Re: [Checkins] SVN:
PluggableAuthService/trunk/plugins/tests/test_exportimport.py
Made tests pass with GenericSetup trunk.
Jens Vagelpohl
jens at dataflake.org
Sun Mar 25 12:14:15 EDT 2007
-----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
> Checkins at zope.org
> http://mail.zope.org/mailman/listinfo/checkins
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFGBp/XRAx5nvEhZLIRAsdAAJsF55hb5aM7GwLp2uTc0LthcbKohQCgtdxj
GCY4X5XDPcu4HsHun7e3G9o=
=eR4B
-----END PGP SIGNATURE-----
More information about the Zope-PAS
mailing list