devtools/testlib.py
branchstable
changeset 6800 3f3d576b87d9
parent 6774 bd50a9c1514e
child 6806 8291f5e0c9f6
--- a/devtools/testlib.py	Tue Jan 11 12:05:12 2011 +0100
+++ b/devtools/testlib.py	Tue Jan 11 12:19:36 2011 +0100
@@ -480,9 +480,7 @@
             def items(self):
                 return self
         class fake_box(object):
-            def mk_action(self, label, url, **kwargs):
-                return (label, url)
-            def box_action(self, action, **kwargs):
+            def action_link(self, action, **kwargs):
                 return (action.title, action.url())
         submenu = fake_menu()
         action.fill_menu(fake_box(), submenu)