Skip to content

Commit

Permalink
Re-separated component and event setup. It would be nice to combine
Browse files Browse the repository at this point in the history
these, but if we do, we need to put them in an entirely new API,
deprecating the old apis.  Existing software may use the component
setup and then new it's own setup for objectEventNotify. If the
component setup sets up this handler, then it will be doubly setup,
causing tests to fail.
  • Loading branch information
Jim Fulton committed Apr 26, 2006
1 parent e1240cd commit 80261a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion browser/tests/test_add.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from zope.publisher.interfaces.browser import IDefaultBrowserLayer
from zope.schema import TextLine, accessors
from zope.security.checker import CheckerPublic
from zope.component.testing import getEvents
from zope.component.eventtesting import getEvents
from zope.lifecycleevent.interfaces import IObjectCreatedEvent, IObjectModifiedEvent

from zope.app.component.site import SiteManagerAdapter
Expand Down
2 changes: 1 addition & 1 deletion browser/tests/test_editview.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from zope.schema import TextLine, accessors
from zope.schema.interfaces import ITextLine
from zope.component.interfaces import ComponentLookupError
from zope.component.testing import getEvents, clearEvents
from zope.component.eventtesting import getEvents, clearEvents
from zope.location.interfaces import ILocation

from zope.app.testing import ztapi
Expand Down

0 comments on commit 80261a4

Please sign in to comment.