Merge lp:~cjohnston/launchpad/bug-test-failures into lp:launchpad

Proposed by Chris Johnston
Status: Merged
Merged at revision: 17030
Proposed branch: lp:~cjohnston/launchpad/bug-test-failures
Merge into: lp:launchpad
Diff against target: 66 lines (+10/-9)
2 files modified
lib/lp/bugs/stories/bugs/xx-bug-activity.txt (+2/-1)
lib/lp/bugs/stories/bugs/xx-remote-bug-comments.txt (+8/-8)
To merge this branch: bzr merge lp:~cjohnston/launchpad/bug-test-failures
Reviewer Review Type Date Requested Status
William Grant code Approve
Review via email: mp+221467@code.launchpad.net

Commit message

Fix bugs testing fallout

To post a comment you must log in.
Revision history for this message
William Grant (wgrant) :
review: Approve (code)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/lp/bugs/stories/bugs/xx-bug-activity.txt'
2--- lib/lp/bugs/stories/bugs/xx-bug-activity.txt 2013-04-11 01:27:33 +0000
3+++ lib/lp/bugs/stories/bugs/xx-bug-activity.txt 2014-05-29 23:07:57 +0000
4@@ -228,7 +228,6 @@
5 ... ago:
6 #2
7 Lookit, a change!
8- ...
9 Changed in mozilla-firefox (Ubuntu):
10 status:
11 New => Confirmed
12@@ -236,6 +235,7 @@
13 Medium => Low
14 status:
15 Confirmed => New
16+ Hide
17 --------
18
19 If a target of a bug task is changed the old and new value will be shown.
20@@ -255,6 +255,7 @@
21 ...
22 affects:
23 mozilla-firefox (Ubuntu) => linux-source-2.6.15 (Ubuntu)
24+ Hide
25 --------
26
27 If a bug task is deleted the pillar no longer affected will be shown.
28
29=== modified file 'lib/lp/bugs/stories/bugs/xx-remote-bug-comments.txt'
30--- lib/lp/bugs/stories/bugs/xx-remote-bug-comments.txt 2013-05-09 08:53:01 +0000
31+++ lib/lp/bugs/stories/bugs/xx-remote-bug-comments.txt 2014-05-29 23:07:57 +0000
32@@ -29,9 +29,9 @@
33 inlined, to make it clear that the comment will end up on the remote
34 bug tracker.
35
36- >>> footer = remote_bug_comment.find(
37- ... attrs={'class': 'boardCommentFooter'})
38- >>> print extract_text(footer)
39+ >>> activity = remote_bug_comment.find(
40+ ... attrs={'class': 'boardCommentActivity'})
41+ >>> print extract_text(activity)
42 Reply on Debian Bug tracker...
43
44 When javascript is not available, the link simply takes us to the
45@@ -63,8 +63,8 @@
46 mark the comment as 'awaiting synchronization' until it makes its way
47 to the remote bug tracker.
48
49- >>> footer = new_bug_comment.find(attrs={'class': 'boardCommentFooter'})
50- >>> print extract_text(footer.findAll('td')[1])
51+ >>> activity = new_bug_comment.find(attrs={'class': 'boardCommentActivity'})
52+ >>> print extract_text(activity.findAll('td')[1])
53 Awaiting synchronization
54
55 When the comment is synchronized, it receives a remote comment id, and
56@@ -107,7 +107,7 @@
57 >>> anon_browser.open('http://bugs.launchpad.dev/redfish/+bug/15')
58 >>> remote_bug_comment = find_tags_by_class(
59 ... anon_browser.contents, 'remoteBugComment', only_first=True)
60- >>> footer = remote_bug_comment.find(
61- ... attrs={'class': 'boardCommentFooter'})
62- >>> 'Reply' in extract_text(footer)
63+ >>> activity = remote_bug_comment.find(
64+ ... attrs={'class': 'boardCommentActivity'})
65+ >>> 'Reply' in extract_text(activity)
66 False