This is an archive of the discontinued Mercurial Phabricator instance.

tests: add test coverage for parsing WSGI requests
ClosedPublic

Authored by indygreg on Mar 12 2018, 5:16 PM.

Details

Summary

A subsequent commit will need to make this code more complicated
in order to support alternate base URLs. Let's establish some test
coverage before we diverge too far from PEP 3333.

As part of this, a minor bug related to a missing SCRIPT_NAME
key has been squashed.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Mar 12 2018, 5:16 PM
durin42 accepted this revision.Mar 12 2018, 5:26 PM
This revision is now accepted and ready to land.Mar 12 2018, 5:26 PM
This revision was automatically updated to reflect the committed changes.