[Zope3-checkins] CVS: Zope3/src/zope/app/tests - test_size.py:1.6
Philipp von Weitershausen
philikon at philikon.de
Wed Aug 20 15:38:30 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/tests
In directory cvs.zope.org:/tmp/cvs-serv3353/tests
Modified Files:
test_size.py
Log Message:
Fix the unit tests concerning the new message ids
=== Zope3/src/zope/app/tests/test_size.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/tests/test_size.py:1.5 Wed Aug 6 10:45:17 2003
+++ Zope3/src/zope/app/tests/test_size.py Wed Aug 20 14:37:59 2003
@@ -42,13 +42,13 @@
obj = DummyObject(None)
sized = DefaultSized(obj)
self.assertEqual(sized.sizeForSorting(), (None, None))
- self.assertEqual(sized.sizeForDisplay(), u'n/a')
+ self.assertEqual(sized.sizeForDisplay(), u'not-available')
def testSizeNotAvailable(self):
from zope.app.size import DefaultSized
sized = DefaultSized(object())
self.assertEqual(sized.sizeForSorting(), (None, None))
- self.assertEqual(sized.sizeForDisplay(), u'n/a')
+ self.assertEqual(sized.sizeForDisplay(), u'not-available')
def testVariousSizes(self):
from zope.app.size import DefaultSized
More information about the Zope3-Checkins
mailing list