[Zope3-checkins]
SVN: Zope3/branches/tlotze/src/zope/interface/tests/test_
repaired some tests
Thomas Lotze
tl at gocept.com
Mon Aug 22 17:56:18 EDT 2005
Log message for revision 38028:
repaired some tests
Changed:
U Zope3/branches/tlotze/src/zope/interface/tests/test_advice.py
U Zope3/branches/tlotze/src/zope/interface/tests/test_element.py
-=-
Modified: Zope3/branches/tlotze/src/zope/interface/tests/test_advice.py
===================================================================
--- Zope3/branches/tlotze/src/zope/interface/tests/test_advice.py 2005-08-22 21:53:48 UTC (rev 38027)
+++ Zope3/branches/tlotze/src/zope/interface/tests/test_advice.py 2005-08-22 21:56:16 UTC (rev 38028)
@@ -28,6 +28,7 @@
$Id$
"""
+import unittest
from unittest import TestCase, makeSuite, TestSuite
from zope.interface.advice import *
from types import ClassType
@@ -174,4 +175,4 @@
return TestSuite([makeSuite(t,'check') for t in TestClasses])
if __name__ == '__main__':
- unittest.main(defaultTest=test_suite)
+ unittest.main(defaultTest='test_suite')
Modified: Zope3/branches/tlotze/src/zope/interface/tests/test_element.py
===================================================================
--- Zope3/branches/tlotze/src/zope/interface/tests/test_element.py 2005-08-22 21:53:48 UTC (rev 38027)
+++ Zope3/branches/tlotze/src/zope/interface/tests/test_element.py 2005-08-22 21:56:16 UTC (rev 38028)
@@ -31,7 +31,6 @@
e2.setTaggedValue("x", 2)
self.assertEqual(e1.getTaggedValue("x"), 1)
self.assertEqual(e2.getTaggedValue("x"), 2)
-
def test_suite():
@@ -41,4 +40,4 @@
if __name__ == '__main__':
- unittest.main(defaultTest=test_suite)
+ unittest.main(defaultTest='test_suite')
More information about the Zope3-Checkins
mailing list