Pagetests cannot access external resources
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Pagetests that attempt to access files served by the Librarian result in a 404 "File Not Found" error. This is due to zope.testbrowser serving files by making method calls to the zope publisher, not really using HTTP to contact the server. As a result, attempts to access files that are served by external servers, such as the Librarian, fail.
One solution is to change the test environment to use a subclass of zope.testbrowser that would be able to correctly make external requests for librarian files and discard other external requests.
When this bug is fixed pagetests/
Thanks to flacoste for helping to determine the problem and explaining it clearly.
Changed in launchpad: | |
importance: | Undecided → Medium |
status: | New → Triaged |
summary: |
- Pagetests cannot access librarian files + Pagetests cannot access external resources |
Another possibility, for the librarian case is the inprocess librarian jtv put together.