[Zope3-checkins]
CVS: Zope3/src/zope/app/browser/services/service/tests
- test_service.py:1.3
Fred L. Drake, Jr.
fred at zope.com
Wed Sep 24 16:43:11 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/browser/services/service/tests
In directory cvs.zope.org:/tmp/cvs-serv8498/src/zope/app/browser/services/service/tests
Modified Files:
test_service.py
Log Message:
When adding a registerable object, use the new registration.html view
to make it easier for the user to see the current status activate the
object if desired.
=== Zope3/src/zope/app/browser/services/service/tests/test_service.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/services/service/tests/test_service.py:1.2 Sun Sep 21 13:31:03 2003
+++ Zope3/src/zope/app/browser/services/service/tests/test_service.py Wed Sep 24 16:43:10 2003
@@ -44,7 +44,7 @@
return self.context.url
__call__ = __str__
provideView(IFoo, 'absolute_url', IBrowserPresentation, AU)
- provideView(IFoo, 'addRegistration.html', IBrowserPresentation, AU)
+ provideView(IFoo, 'registration.html', IBrowserPresentation, AU)
context = Foo('foo_url')
request = TestRequest()
@@ -53,7 +53,7 @@
self.assertEquals(view.nextURL(), 'foo_url/@@contents.html')
view.added_object = Foo('bar_url')
- self.assertEquals(view.nextURL(), 'bar_url/@@addRegistration.html')
+ self.assertEquals(view.nextURL(), 'bar_url/@@registration.html')
def test_suite():
More information about the Zope3-Checkins
mailing list