Merge lp:~barry/launchpad/445713-cleanup into lp:launchpad

Proposed by Barry Warsaw
Status: Merged
Merged at revision: not available
Proposed branch: lp:~barry/launchpad/445713-cleanup
Merge into: lp:launchpad
Diff against target: 86 lines
3 files modified
lib/lp/registry/browser/tests/product-menus.txt (+3/-5)
lib/lp/registry/stories/product/xx-product-driver.txt (+1/-0)
lib/lp/registry/stories/product/xx-product-edit.txt (+6/-5)
To merge this branch: bzr merge lp:~barry/launchpad/445713-cleanup
Reviewer Review Type Date Requested Status
Paul Hummer code Pending
Review via email: mp+13092@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Barry Warsaw (barry) wrote :

 reviewer rockstar code

= Summary =

This is a pure clean up branch as a follow on to
lp:~barry/launchpad/445713-menus. It cleans up some doctests.

== Proposed fix ==

Clean up doctests.

== Pre-implementation notes ==

None.

== Implementation details ==

These drive-by cleanups were developed in parallel with the above branch.

== Tests ==

None; tests will be described as part of the above branch.

== Demo and Q/A ==

None.

= Launchpad lint =

Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.

Linting changed files:
  lib/lp/registry/stories/product/xx-product-driver.txt
  lib/lp/registry/browser/tests/product-menus.txt
  lib/lp/registry/stories/product/xx-product-edit.txt

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/lp/registry/browser/tests/product-menus.txt'
2--- lib/lp/registry/browser/tests/product-menus.txt 2009-08-12 04:27:34 +0000
3+++ lib/lp/registry/browser/tests/product-menus.txt 2009-10-08 21:10:22 +0000
4@@ -1,4 +1,6 @@
5-= The product menu classes =
6+========================
7+The product menu classes
8+========================
9
10 Each link specified by menu classes for products should be accessible.
11 In most cases, the context for links will be the product itself, which
12@@ -7,11 +9,7 @@
13 The check_menu_links() function is defined here to make it simple to
14 test all the product menu classes below.
15
16- >>> import traceback
17- >>> import sys
18- >>> import os
19 >>> from zope.component import getMultiAdapter
20- >>> from canonical.lazr.utils import safe_hasattr
21 >>> from canonical.lazr.testing.menus import make_fake_request
22 >>> from canonical.launchpad.webapp.publisher import canonical_url
23 >>> from lp.registry.interfaces.product import IProductSet
24
25=== modified file 'lib/lp/registry/stories/product/xx-product-driver.txt'
26--- lib/lp/registry/stories/product/xx-product-driver.txt 2009-09-18 17:38:50 +0000
27+++ lib/lp/registry/stories/product/xx-product-driver.txt 2009-10-08 21:10:22 +0000
28@@ -1,3 +1,4 @@
29+===========================
30 Appointing a Product Driver
31 ===========================
32
33
34=== modified file 'lib/lp/registry/stories/product/xx-product-edit.txt'
35--- lib/lp/registry/stories/product/xx-product-edit.txt 2009-09-23 10:17:34 +0000
36+++ lib/lp/registry/stories/product/xx-product-edit.txt 2009-10-08 21:10:22 +0000
37@@ -1,3 +1,4 @@
38+===========================
39 Product Edit and Administer
40 ===========================
41
42@@ -72,7 +73,7 @@
43
44
45 Administering Products
46-----------------------
47+======================
48
49 Regular users can't access the 'Administer' link.
50
51@@ -175,7 +176,7 @@
52
53
54 Changing Maintainer and Registrant
55-----------------------------------
56+==================================
57
58 Administrators can change the owner of a project.
59
60@@ -222,7 +223,7 @@
61
62
63 Registry Experts
64-----------------
65+================
66
67 Regular Joes can't edit any old project:
68
69@@ -272,7 +273,7 @@
70
71
72 Launchpad developers can use the reviewer whiteboard
73-----------------------------------------------------
74+====================================================
75
76 A member of the Registry Experts team can use the reviewer whiteboard on
77 the +review-license page for storing random notes about a project. At
78@@ -379,7 +380,7 @@
79
80
81 Setting the remote project
82---------------------------
83+==========================
84
85 The remote_product field - which stores a Product's ID on the remote bug
86 tracker - can be set from the +edit page, too.