-
Notifications
You must be signed in to change notification settings - Fork 422
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use existing routes_mapper fixture to fix tests
WebOb 1.6 was just released, which includes a security measure to ensure that `Location` headers do not contain newlines or carriage returns. This means that locations need to be iterable objects (so they can be used with `in`). Rather than using a basic `Mock` for the `route_url` function, use the existing `routes_mapper` fixture.
- Loading branch information
1 parent
f0ab7c2
commit 994b52f
Showing
1 changed file
with
2 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters