[Zope3-checkins] CVS: Zope3/src/zope/app/pagetemplate/tests - test_simpleviewclass.py:1.1.2.3
Fred L. Drake, Jr.
fred@zope.com
Mon, 23 Dec 2002 18:13:05 -0500
Update of /cvs-repository/Zope3/src/zope/app/pagetemplate/tests
In directory cvs.zope.org:/tmp/cvs-serv29464
Modified Files:
Tag: NameGeddon-branch
test_simpleviewclass.py
Log Message:
test_suite(): Simplify.
=== Zope3/src/zope/app/pagetemplate/tests/test_simpleviewclass.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/app/pagetemplate/tests/test_simpleviewclass.py:1.1.2.2 Mon Dec 23 17:34:19 2002
+++ Zope3/src/zope/app/pagetemplate/tests/test_simpleviewclass.py Mon Dec 23 18:13:04 2002
@@ -51,8 +51,7 @@
' </body>\n</html>\n')
def test_suite():
- loader = unittest.TestLoader()
- return loader.loadTestsFromTestCase(SimpleViewTestCase)
+ return unittest.makeSuite(SimpleViewTestCase)
if __name__=='__main__':
unittest.TextTestRunner().run(test_suite())