[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form/tests -
test_editview.py:1.20
Jim Fulton
jim at zope.com
Sat Mar 6 11:50:45 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/browser/form/tests
In directory cvs.zope.org:/tmp/cvs-serv11249/src/zope/app/browser/form/tests
Modified Files:
test_editview.py
Log Message:
Converted most getAdapter calls to use interface calls instead.
=== Zope3/src/zope/app/browser/form/tests/test_editview.py 1.19 => 1.20 ===
--- Zope3/src/zope/app/browser/form/tests/test_editview.py:1.19 Fri Mar 5 23:17:18 2004
+++ Zope3/src/zope/app/browser/form/tests/test_editview.py Sat Mar 6 11:50:14 2004
@@ -176,7 +176,7 @@
v = BarV(f, request)
# check adapter
self.assertEqual(f.foo, u'Foo foo')
- a = ztapi.zapi.getAdapter(f, IBar)
+ a = IBar(f)
self.assertEqual(a.bar, u'Foo foo')
# update
request.form[Update] = ''
More information about the Zope3-Checkins
mailing list