Add a helper function to get the canonical_url of an object in a format suitable for Windmill tests
Bug #456773 reported by
Eleanor Berger
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Undecided
|
Paul Hummer |
Bug Description
The URLs of Launchpad objects when using Windmill are slightly different - they use http instead of https, and the server is accessed on port 8085. In order to be able to use canonical_url in such tests, we need to extend it to take the scheme and port as parameters.
To post a comment you must log in.
Why do you need canonical_url in windmill tests? I don't really see the need to extend the signature of canonical_url. Why not simply add a helper in the test suite that would normalise the output of canonical_url for the windmill specific env?