[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form/ftests -
test_textwidget.py:1.7
Stephan Richter
srichter at cosmos.phy.tufts.edu
Mon Mar 8 07:07:05 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/browser/form/ftests
In directory cvs.zope.org:/tmp/cvs-serv13053/src/zope/app/browser/form/ftests
Modified Files:
test_textwidget.py
Log Message:
Adjusted code to use the new APIs for permissions and principals. Also, use
the utility service instead of the permission registry to look up permissions.
=== Zope3/src/zope/app/browser/form/ftests/test_textwidget.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/browser/form/ftests/test_textwidget.py:1.6 Fri Mar 5 23:17:18 2004
+++ Zope3/src/zope/app/browser/form/ftests/test_textwidget.py Mon Mar 8 07:05:53 2004
@@ -11,20 +11,16 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""TextWidget Tests
$Id$
"""
-
import unittest
from persistence import Persistent
from transaction import get_transaction
-from zope.interface import Interface
-from zope.interface import implements
-
-from zope.schema import TextLine
-from zope.schema import EnumeratedTextLine
+from zope.interface import Interface, implements
+from zope.schema import TextLine, EnumeratedTextLine
from support import *
from zope.app.traversing import traverse
More information about the Zope3-Checkins
mailing list