[Zope-CVS] CVS: Products/PluggableAuthService/plugins/tests -
test_DyamicGroupsPlugin.py:1.5
Lennart Regebro
regebro at nuxeo.com
Wed Sep 22 07:00:58 EDT 2004
Update of /cvs-repository/Products/PluggableAuthService/plugins/tests
In directory cvs.zope.org:/tmp/cvs-serv7866
Modified Files:
test_DyamicGroupsPlugin.py
Log Message:
Fixed a bug in the test.
=== Products/PluggableAuthService/plugins/tests/test_DyamicGroupsPlugin.py 1.4 => 1.5 ===
--- Products/PluggableAuthService/plugins/tests/test_DyamicGroupsPlugin.py:1.4 Mon Sep 13 11:14:46 2004
+++ Products/PluggableAuthService/plugins/tests/test_DyamicGroupsPlugin.py Wed Sep 22 07:00:58 2004
@@ -295,7 +295,10 @@
self.assertEqual( info[ 'predicate' ], 'python:False' )
self.assertEqual( info[ 'pluginid' ], 'enumerating' )
- URL = '/enumerating/noone/manage_propertiesForm'
+ # Because teher is no proper REQUEST, the properties_url will be incorrect
+ # It should normally be '/enumerating/noone/manage_propertiesForm'
+ # But it will be '//noone/manage_propertiesForm'
+ URL = '//noone/manage_propertiesForm'
self.assertEqual( info[ 'properties_url' ], URL )
self.assertEqual( info[ 'members_url' ], URL )
More information about the Zope-CVS
mailing list