[Zope3-checkins] CVS: Zope3/src/zope/app/observable/tests -
test_adapter.py:1.1.2.2
Jim Fulton
jim at zope.com
Tue Mar 23 16:08:30 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/observable/tests
In directory cvs.zope.org:/tmp/cvs-serv9289/src/zope/app/observable/tests
Modified Files:
Tag: observable-branch
test_adapter.py
Log Message:
Minor fixes
=== Zope3/src/zope/app/observable/tests/test_adapter.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/observable/tests/test_adapter.py:1.1.2.1 Tue Mar 23 15:48:18 2004
+++ Zope3/src/zope/app/observable/tests/test_adapter.py Tue Mar 23 16:08:30 2004
@@ -50,7 +50,7 @@
>>> adapter = ObservableAdapter(obj)
Make a subscriber and make a faux subscription
- >>> subscriber = DummySubscriber(None)
+ >>> subscriber = DummySubscriber()
>>> adapter.subscribe([], IAnnotations, subscriber)
Make sure an ObjectAdapterRegistry was created
@@ -75,7 +75,6 @@
Call notify
>>> event = DummyEvent()
>>> adapter.notify(event, ISubscriber)
- >>> subscriber.events
>>> subscriber.events == [event]
True
"""
More information about the Zope3-Checkins
mailing list