[Zope3-checkins] CVS: Zope3/src/zope/app/applicationcontrol/tests -
test_zopeversion.py:1.6
Fred L. Drake, Jr.
fred at zope.com
Fri Apr 30 10:17:43 EDT 2004
Update of /cvs-repository/Zope3/src/zope/app/applicationcontrol/tests
In directory cvs.zope.org:/tmp/cvs-serv24598
Modified Files:
test_zopeversion.py
Log Message:
- re-organize the imports
- use the right test harness boilerplate
=== Zope3/src/zope/app/applicationcontrol/tests/test_zopeversion.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/applicationcontrol/tests/test_zopeversion.py:1.5 Mon Mar 1 08:43:26 2004
+++ Zope3/src/zope/app/applicationcontrol/tests/test_zopeversion.py Fri Apr 30 10:17:41 2004
@@ -15,11 +15,12 @@
$Id$
"""
+import os
import unittest
+
from zope.interface.verify import verifyObject
from zope.app.applicationcontrol.interfaces import IZopeVersion
from zope.app.applicationcontrol.zopeversion import ZopeVersion
-import os
class Test(unittest.TestCase):
@@ -66,9 +67,7 @@
def test_suite():
- return unittest.TestSuite((
- unittest.makeSuite(Test),
- ))
+ return unittest.makeSuite(Test)
if __name__ == '__main__':
- unittest.main()
+ unittest.main(defaultTest="test_suite")
More information about the Zope3-Checkins
mailing list