[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Folder/tests - testFolderAdder.py:1.1.2.2

Fred L. Drake, Jr. fdrake@acm.org
Mon, 4 Feb 2002 11:41:48 -0500


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

Modified Files:
      Tag: Zope-3x-branch
	testFolderAdder.py 
Log Message:
Properly construct the test suite; use classes that are actually available.

=== Zope3/lib/python/Zope/App/OFS/Folder/tests/testFolderAdder.py 1.1.2.1 => 1.1.2.2 ===
 def test_suite():
     loader = unittest.TestLoader()
-    return loader.loadTestsFromTestCase( Test )
+    suite = unittest.TestSuite()
+    suite.addTest(loader.loadTestsFromTestCase(RegistryTest))
+    suite.addTest(loader.loadTestsFromTestCase(AddingTest))
+    return suite
 
 if __name__=='__main__':
     unittest.main()