[Zope3-checkins] CVS: Zope3/lib/python/Zope/Schema/tests - testStrField.py:1.6
Jim Fulton
jim@zope.com
Mon, 9 Dec 2002 11:28:59 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/Schema/tests
In directory cvs.zope.org:/tmp/cvs-serv2360/lib/python/Zope/Schema/tests
Modified Files:
testStrField.py
Log Message:
Renamed "Line" field to "BytesLine".
=== Zope3/lib/python/Zope/Schema/tests/testStrField.py 1.5 => 1.6 ===
--- Zope3/lib/python/Zope/Schema/tests/testStrField.py:1.5 Mon Nov 11 15:24:35 2002
+++ Zope3/lib/python/Zope/Schema/tests/testStrField.py Mon Dec 9 11:28:58 2002
@@ -15,7 +15,7 @@
$Id$
"""
from unittest import TestSuite, main, makeSuite
-from Zope.Schema import Bytes, Line, Text, TextLine, ErrorNames
+from Zope.Schema import Bytes, BytesLine, Text, TextLine, ErrorNames
from Zope.Schema.Exceptions import ValidationError
from testField import FieldTestBase
@@ -140,7 +140,7 @@
self._convert('hello\nworld'))
class LineTest(SingleLine, BytesTest):
- _Field_Factory = Line
+ _Field_Factory = BytesLine
class TextLineTest(SingleLine, TextTest):
_Field_Factory = TextLine