Merge lp:~bac/launchpad/bug-996773-2 into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | Curtis Hovey on 2012-05-11 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 15243 |
| Proposed branch: | lp:~bac/launchpad/bug-996773-2 |
| Merge into: | lp:launchpad |
| Diff against target: |
24 lines (+3/-0) 1 file modified
lib/lp/services/webservice/tests/test_wadl_generation.py (+3/-0) |
| To merge this branch: | bzr merge lp:~bac/launchpad/bug-996773-2 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Curtis Hovey (community) | code | 2012-05-11 | Approve on 2012-05-11 |
|
Review via email:
|
|||
Commit Message
Remove generated WADL that uses https at the end of test_wadl.
Description of the Change
= Summary =
WADL generation by test_wadl was generating HTTPS urls and then
caching the WADL. Subsequent API tests would then get the cached WADL
and attempt to make HTTPS connections which were then refused as only
HTTP connections are supported in our test framework.
== Proposed fix ==
Have test_wadl restore the value of the cached WADL at the end of its
run.
== Pre-implementation notes ==
Helpful discussions with Gary and Francesco.
== Tests ==
To fully test, test_wadl needs to be run first. Add the following to
a file (e.g. 'tests.txt') and then use --load-list:
lp.services.
lp.bugs.
bin/test -vvt --load-list tests.txt
== Demo and Q/A ==
None
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/

Thank you