[Zope3-checkins]
SVN: Zope3/branches/jim-adapter/src/zope/app/component/tests/deprecated35_statusproperty.txt
Fix tests: New location of event classes.
Philipp von Weitershausen
philikon at philikon.de
Mon Apr 3 00:59:40 EDT 2006
Log message for revision 66341:
Fix tests: New location of event classes.
Changed:
U Zope3/branches/jim-adapter/src/zope/app/component/tests/deprecated35_statusproperty.txt
-=-
Modified: Zope3/branches/jim-adapter/src/zope/app/component/tests/deprecated35_statusproperty.txt
===================================================================
--- Zope3/branches/jim-adapter/src/zope/app/component/tests/deprecated35_statusproperty.txt 2006-04-02 22:52:52 UTC (rev 66340)
+++ Zope3/branches/jim-adapter/src/zope/app/component/tests/deprecated35_statusproperty.txt 2006-04-03 04:59:38 UTC (rev 66341)
@@ -107,7 +107,7 @@
>>> reg.status = ActiveStatus
>>> event = events.pop()
>>> event.__class__
- <class 'zope.app.component.registration.RegistrationActivatedEvent'>
+ <class 'zope.component.interfaces.Registered'>
>>> event.object is reg
True
@@ -115,7 +115,7 @@
>>> reg.status = InactiveStatus
>>> events.pop().__class__
- <class 'zope.app.component.registration.RegistrationDeactivatedEvent'>
+ <class 'zope.component.interfaces.Unregistered'>
>>> event.object is reg
True
More information about the Zope3-Checkins
mailing list