Merge lp://staging/~jamesh/ubuntu-scopes/googlenews-test-fixes into lp://staging/~submarine/ubuntu-scopes/googlenews
Proposed by
James Henstridge
Status: | Merged |
---|---|
Approved by: | Didier Roche-Tolomelli |
Approved revision: | 56 |
Merged at revision: | 54 |
Proposed branch: | lp://staging/~jamesh/ubuntu-scopes/googlenews-test-fixes |
Merge into: | lp://staging/~submarine/ubuntu-scopes/googlenews |
Diff against target: |
110 lines (+17/-14) 3 files modified
src/unity_googlenews_daemon.py (+14/-14) tests/data/mock_geoiplookup.js (+1/-0) tests/test_googlenews.py (+2/-0) |
To merge this branch: | bzr merge lp://staging/~jamesh/ubuntu-scopes/googlenews-test-fixes |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Submarine | Pending | ||
Review via email: mp+153973@code.staging.launchpad.net |
Commit message
Test suite fixes: remove the LOC global variable, and don't hit the network for the location check.
Description of the change
The initialisation of the unused LOC global variable failed under the test suite where no locale is set, so I have removed it.
I have also short circuited the geoiplookup.
To post a comment you must log in.
FAILED: Continuous integration, rev:55 jenkins. qa.ubuntu. com/job/ submarine- ubuntu- scopes- googlenews- ci/1/ jenkins. qa.ubuntu. com/job/ submarine- ubuntu- scopes- googlenews- raring- amd64-ci/ 1/console
http://
Executed test runs:
FAILURE: http://
Click here to trigger a rebuild: jenkins. qa.ubuntu. com/job/ submarine- ubuntu- scopes- googlenews- ci/1/rebuild
http://