We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 678af39 commit c15c4bcCopy full SHA for c15c4bc
stackinabox/util/requests_mock/core.py
@@ -52,6 +52,9 @@ def session_registration(uri, session):
52
reqcallable.RequestMockCallable(uri)
53
)
54
55
+ if not uri.endswith('/'):
56
+ uri += '/'
57
+
58
# Tell the session about the adapter and the URI
59
session.mount('http://{0}'.format(uri), StackInABox.hold_out('adapter'))
60
session.mount('https://{0}'.format(uri), StackInABox.hold_out('adapter'))
0 commit comments