[Zope3-checkins] CVS: Products3/z3checkins - interfaces.py:1.14

Gintautas Miliauskas gintas at pov.lt
Sat May 15 09:24:29 EDT 2004


Update of /cvs-repository/Products3/z3checkins
In directory cvs.zope.org:/tmp/cvs-serv18004

Modified Files:
	interfaces.py 
Log Message:
Made IMessage derived from IMessageUpload so that the precondition checker
wouldn't barf in functional tests.

Added a functional test snippet to make sure that a 'Checkin dessage' is
offered in the 'Add' menu.


=== Products3/z3checkins/interfaces.py 1.13 => 1.14 ===
--- Products3/z3checkins/interfaces.py:1.13	Fri May 14 15:56:05 2004
+++ Products3/z3checkins/interfaces.py	Sat May 15 09:23:57 2004
@@ -11,7 +11,12 @@
 from zope.app.container.constraints import ItemTypePrecondition
 from zope.schema import Field, Text, TextLine
 
-class IMessage(Interface):
+
+class IMessageUpload(Interface):
+    pass
+
+
+class IMessage(IMessageUpload):
     """Mail message."""
 
     message_id = Attribute("Unique message ID")
@@ -62,10 +67,6 @@
     archive_url = TextLine(title=u"URL of mailing list archive",
                            required=False)
     icons = Text(title=u"Icon definitions", required=False)
-
-
-class IMessageUpload(Interface):
-    pass
 
 
 class ICheckinFolder(IFolder, ICheckinFolderSchema):




More information about the Zope3-Checkins mailing list