[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/AuthenticationService/tests - testAuthenticationService.py:1.2 testUser.py:1.3

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


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/AuthenticationService/tests
In directory cvs.zope.org:/tmp/cvs-serv5906/lib/python/Zope/App/OFS/Services/AuthenticationService/tests

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


=== Zope3/lib/python/Zope/App/OFS/Services/AuthenticationService/tests/testAuthenticationService.py 1.1 => 1.2 ===
 
 
 def test_suite():
-    return TestSuite((
-        makeSuite(AuthServiceTest),
-        ))
+    return makeSuite(AuthServiceTest)
 
 if __name__=='__main__':
     main(defaultTest='test_suite')


=== Zope3/lib/python/Zope/App/OFS/Services/AuthenticationService/tests/testUser.py 1.2 => 1.3 ===
 
 
 def test_suite():
-    return TestSuite((
-        makeSuite(UserTest),
-        ))
+    return makeSuite(UserTest)
 
 if __name__=='__main__':
     main(defaultTest='test_suite')