[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/ApplicationControl/tests - testApplicationControl.py:1.4

Jim Fulton jim@zope.com
Fri, 20 Dec 2002 18:15:05 -0500


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

Modified Files:
	testApplicationControl.py 
Log Message:

Refactored the application controller to use the views menu rather
than a specialized view plugin mechanism.

Got rid of the old main page, which now does nothing and made the
process info view the default.



=== Zope3/lib/python/Zope/App/OFS/ApplicationControl/tests/testApplicationControl.py 1.3 => 1.4 ===
--- Zope3/lib/python/Zope/App/OFS/ApplicationControl/tests/testApplicationControl.py:1.3	Wed Jul 17 12:54:16 2002
+++ Zope3/lib/python/Zope/App/OFS/ApplicationControl/tests/testApplicationControl.py	Fri Dec 20 18:15:04 2002
@@ -55,19 +55,6 @@
         
         self.failUnless(abs(assert_time - test_time) < time_tolerance)
 
-    def test_plugins(self):
-        test_appctrl = self._Test__new()
-        assert_info = ( {'name':'foo', 'title':'I\'m a lumberjack'},
-                        {'name':'bar', 'title':'and i feel fine.'},
-                        {'name':'nudges', 'title':'The nudge'},
-                        {'name':'dash', 'title':'The dash'} )
-
-        for info in assert_info:
-            test_appctrl.registerView(info['name'], info['title'])
-
-        test_info = test_appctrl.getListOfViews()
-        self.failUnlessEqual(assert_info, test_info)
-
 
 def test_suite():
     return makeSuite(Test)