Created attachment 565100 [details] [diff] [review] patch to use real webob.Request objects in tests Currently the server-core testcases use a variety of fake Request objects. This can cause tests to break if internal code starts using methods on the real webob.Request class that aren't provided by the fake. (e.g. in a new auth handler I want to use request.get_response() to delegate to a repoze.who WSGI app) Attached patch provides a shortcut for creating a real webob.Request object, and updates the tests to use it.
Created attachment 565104 [details] [diff] [review] updated patch to use real webob.Request objects in tests Simplifying test_controllers.py to just pass in the environ that it needs
Attachment #565104 - Flags: review?(telliott) → review+
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.