[Zope3-checkins] CVS: Products3/z3checkins/tests - test_message.py:1.26

Gintautas Miliauskas gintas at pov.lt
Fri Mar 26 17:18:09 EST 2004


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

Modified Files:
	test_message.py 
Log Message:
Fixed a bug where checkins would barf when no file was specified.


=== Products3/z3checkins/tests/test_message.py 1.25 => 1.26 ===
--- Products3/z3checkins/tests/test_message.py:1.25	Fri Mar 26 17:11:48 2004
+++ Products3/z3checkins/tests/test_message.py	Fri Mar 26 17:18:08 2004
@@ -377,6 +377,8 @@
         view.add = view.context.add
         added = view.context.added
         self.assertEquals(len(added), 0)
+        view.createAndAdd({})
+        self.assertEquals(len(added), 0)
         view.createAndAdd({'data': 'Ipsum suum'})
         self.assertEquals(len(added), 1)
         self.assertEquals(added[0].__class__, MessageStub)




More information about the Zope3-Checkins mailing list