[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/Views/Browser/tests - testZPTPageEval.py:1.4

Jeremy Hylton jeremy@zope.com
Wed, 17 Jul 2002 12:54:48 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/Views/Browser/tests
In directory cvs.zope.org:/tmp/cvs-serv5906/lib/python/Zope/App/OFS/Content/ZPTPage/Views/Browser/tests

Modified Files:
	testZPTPageEval.py 
Log Message:
Simplify test_suite() implementations when there is only one class.


=== Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/Views/Browser/tests/testZPTPageEval.py 1.3 => 1.4 ===
         self.assertEqual(getattr(request, 'content-type'), 'text/x-test')
 
 def test_suite():
-    return TestSuite((
-        makeSuite(Test),
-        ))
+    return makeSuite(Test)
 
 if __name__=='__main__':
     main(defaultTest='test_suite')