Merge lp:~rharding/launchpad/updated_wally_use_convoy into lp:launchpad
| Status: | Merged |
|---|---|
| Merged at revision: | 14722 |
| Proposed branch: | lp:~rharding/launchpad/updated_wally_use_convoy |
| Merge into: | lp:launchpad |
| Prerequisite: | lp:~wallyworld/launchpad/use-convoy |
| Diff against target: |
53 lines (+11/-2) 3 files modified
lib/lp/app/widgets/doc/location-widget.txt (+1/-1) lib/lp/services/webapp/error.py (+9/-0) lib/lp/soyuz/stories/ppa/xx-private-ppa-subscriptions.txt (+1/-1) |
| To merge this branch: | bzr merge lp:~rharding/launchpad/updated_wally_use_convoy |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Benji York (community) | code | 2012-01-23 | Approve on 2012-01-23 |
|
Review via email:
|
|||
Commit Message
Short cut features checks on error pages and adjust tests for changes in use-convoy branch.
Description of the Change
= Summary =
There were some failing tests when trying to ec2 land the use-convoy branch.
== Fixes and implementation details ==
The first error was that the url for the YUI2 calendar was altered during preparing the JS build directory. That path was updated (it's not under app any longer).
The second error was that the geo location code was returning a float value of 2.9999999999. This seems a bit spurious, and since it's a LAT value, if it's off by that little it won't effect the map loading. So I updated the doctest to round out to 4 decimal places and make sure that equals our expected value. That should be a small enough difference to be able to ignore.
The third was that during db errors, the request dies out early and the feature flag code isn't neutered with a NullFeatureCont
== Tests ==
./bin/test -x -cvvt "test_error"
./bin/test -x -cvvt "xx-private-ppa"
./bin/test -x -cvvt "app.*browser.

This branch looks fine. Two small suggestions:
The "print" in "print round(widget. center_ lng, 5)" is superfluous.
It would be nice if the comment on line 32 of the diff explained why roller was necessary.
injecting the NullFeatureCont