← Back to team overview

launchpad-dev team mailing list archive

[SOLVED] HELP NEEDED: Fwd: Test results: recipe-binary-builds => devel: FAILURE

 

There was a bad monkey patch, and I'm guessing that new added tests caused 
some test reordering, causing this problem to become apparent.

=== modified file 'lib/canonical/launchpad/doc/hierarchical-menu.txt'
--- lib/canonical/launchpad/doc/hierarchical-menu.txt	2010-10-18 22:24:59 
+0000
+++ lib/canonical/launchpad/doc/hierarchical-menu.txt	2010-11-30 00:53:56 
+0000
@@ -90,6 +90,7 @@
     # have to create fake views and other stuff to test breadcrumbs here. The
     # functionality provided by that method is tested in
     # webapp/tests/test_breadcrumbs.py.
+    >>> make_breadcrumb_func = Hierarchy.makeBreadcrumbForRequestedPage
     >>> Hierarchy.makeBreadcrumbForRequestedPage = lambda self: None
 
     # Note that the Hierarchy assigns the breadcrumb's URL, but we need to
@@ -269,3 +270,8 @@
 
     >>> homepage_hierarchy.render().strip()
     u''
+
+
+Put the monkey patched method back.
+
+    >>> Hierarchy.makeBreadcrumbForRequestedPage = make_breadcrumb_func



References