Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:python
python-httpretty
double-slash-paths.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File double-slash-paths.patch of Package python-httpretty
Index: httpretty-1.1.4/tests/functional/test_requests.py =================================================================== --- httpretty-1.1.4.orig/tests/functional/test_requests.py +++ httpretty-1.1.4/tests/functional/test_requests.py @@ -946,4 +946,4 @@ def test_httpretty_should_handle_paths_s response = requests.get('http://example.com//foo') expect(response.text).to.equal('Find the best foo') expect(HTTPretty.last_request.method).to.equal('GET') - expect(HTTPretty.last_request.path).to.equal('//foo') + expect(HTTPretty.last_request.path).to.be.within(['//foo', '/foo'])
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor