[Zope3-checkins] CVS: Zope3/src/zope/app/security - fields.py:1.2

Stephan Richter srichter at cosmos.phy.tufts.edu
Sun Apr 11 06:34:42 EDT 2004


Update of /cvs-repository/Zope3/src/zope/app/security
In directory cvs.zope.org:/tmp/cvs-serv4471/src/zope/app/security

Modified Files:
	fields.py 
Log Message:


Updated tests to reflect API changes.




=== Zope3/src/zope/app/security/fields.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/security/fields.py:1.1	Sat Mar 20 14:52:38 2004
+++ Zope3/src/zope/app/security/fields.py	Sun Apr 11 06:34:41 2004
@@ -48,7 +48,7 @@
     >>> field._validate('3 foo')
     Traceback (most recent call last):
     ...
-    ValidationError: ('Invalid id', '3 foo')
+    InvalidId: 3 foo
 
     zope.Public is always valid
     >>> field._validate('zope.Public')




More information about the Zope3-Checkins mailing list