[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Formulator/Validators/tests - __init__.py:1.1.2.2 testValidators.py:1.1.2.2
Tres Seaver
tseaver@zope.com
Tue, 12 Feb 2002 15:56:29 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/Formulator/Validators/tests
In directory cvs.zope.org:/tmp/cvs-serv19744/Zope/App/Formulator/Validators/tests
Modified Files:
Tag: Zope-3x-branch
__init__.py testValidators.py
Log Message:
- Normalize file headers.
- Fix violations of "80 character" rule.
=== Zope3/lib/python/Zope/App/Formulator/Validators/tests/__init__.py 1.1.2.1 => 1.1.2.2 ===
"""
-Revision information: $Id$
+$Id$
"""
=== Zope3/lib/python/Zope/App/Formulator/Validators/tests/testValidators.py 1.1.2.1 => 1.1.2.2 ===
"""
-Revision information: $Id$
+$Id$
"""
import unittest
@@ -67,7 +67,8 @@
def testErrorTooLong(self):
self.v.maxLength = 10
self.assertValidatorRaises(Errors.ValidationError, 'tooLong',
- self.v.validate, (field, 'This is a much longer text.'))
+ self.v.validate,
+ (field, 'This is a much longer text.'))
def testErrorTruncate(self):