Merge lp://staging/~cjohnston/summit/remove-lp-info-url into lp://staging/summit
Proposed by
Chris Johnston
Status: | Merged |
---|---|
Approved by: | Chris Johnston |
Approved revision: | 547 |
Merged at revision: | 546 |
Proposed branch: | lp://staging/~cjohnston/summit/remove-lp-info-url |
Merge into: | lp://staging/summit |
Diff against target: |
177 lines (+65/-19) 6 files modified
summit/common/views.py (+0/-5) summit/schedule/templates/schedule/summit_info.html (+2/-1) summit/schedule/tests/summit_model.py (+47/-0) summit/schedule/tests/virtual.py (+5/-5) summit/schedule/views.py (+9/-6) summit/urls.py (+2/-2) |
To merge this branch: | bzr merge lp://staging/~cjohnston/summit/remove-lp-info-url |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Joe Talbott | Approve | ||
Chris Johnston | Needs Resubmitting | ||
Review via email: mp+163219@code.staging.launchpad.net |
Commit message
Removes Launchpad information link if there is no import_url
To post a comment you must log in.
For L18 and L175 I'd recommend using:
lp_link = SummitSprint. objects. filter( summit= summit) .exists( )
L93 you can put this sort of logic in setUp() and it'll get called for all tests. Maybe not what you want but it's an option to avoid the code duplication of calling create_summit() in a bunch of places.