Merge lp:~canonical-ca-hackers/ubuntu-webcatalog/965473-none-in-the-url into lp:ubuntu-webcatalog
Proposed by
Łukasz Czyżykowski
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Michael Nelson | ||||
Approved revision: | 98 | ||||
Merged at revision: | 94 | ||||
Proposed branch: | lp:~canonical-ca-hackers/ubuntu-webcatalog/965473-none-in-the-url | ||||
Merge into: | lp:ubuntu-webcatalog | ||||
Diff against target: |
34 lines (+12/-1) 2 files modified
src/webcatalog/tests/test_views.py (+11/-0) src/webcatalog/views.py (+1/-1) |
||||
To merge this branch: | bzr merge lp:~canonical-ca-hackers/ubuntu-webcatalog/965473-none-in-the-url | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Nelson (community) | Approve | ||
Review via email: mp+100099@code.launchpad.net |
Commit message
Fixed Bug:965473
Description of the change
Overview
========
Fixed Bug:965473. Additionally made the url which is sent to the Twitter always stay the same, regardless of the distroseries selected.
To post a comment you must log in.
13:28 < noodles> lukasz: could thee test on linee 14 do self.assertCont ains(response, 'href=" /cat/applicatio ns/whatever' ) instead of assertNotContains?
13:33 < lukasz> noodles, sure, but why?
13:34 < noodles> lukasz: because asserting that something isn't contained in the result can lead to very easy false positives (ie. the link is moved to a different template)
Thanks for the updated test!