[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/ZMI/tests - testZMIViewUtility.py:1.1.2.11.2.3

Jim Fulton jim@zope.com
Tue, 4 Jun 2002 15:56:22 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/ZMI/tests
In directory cvs.zope.org:/tmp/cvs-serv25533

Modified Files:
      Tag: Zope3InWonderland-branch
	testZMIViewUtility.py 
Log Message:
Removed now-unnecessary ../ in generated links. (yay)


=== Zope3/lib/python/Zope/App/ZMI/tests/testZMIViewUtility.py 1.1.2.11.2.2 => 1.1.2.11.2.3 ===
         v = ZMIViewUtility(ProxyFactory(ob), Request())
         self.assertEqual(v.getZMIViews(),
-                         [{'label':'l1', 'action':'../a1'},
-                          {'label':'l2', 'action':'../a2/a3'},
-                          {'label':'l3', 'action':'../view::a3'}
+                         [{'label':'l1', 'action':'a1'},
+                          {'label':'l2', 'action':'a2/a3'},
+                          {'label':'l3', 'action':'view::a3'}
                           ])
 
 class Request: