Commit 77c53efa authored by Craig Weber's avatar Craig Weber

Fix bug in soap.tests.SoapTest._build_transport_with_reply which broke SOAP...

Fix bug in soap.tests.SoapTest._build_transport_with_reply which broke SOAP request pass-through for domains not matching the given pattern.
parent 8382d2f2
......@@ -108,7 +108,7 @@ class SoapTest(XMLAssertions):
transport = HttpTransport()
def surrogate(request, *args, **kwargs):
if pattern and not re.search(pattern, request.url):
return HttpTransport.send(transport, *args, **kwargs)
return HttpTransport.send(transport, request, *args, **kwargs)
if test_request:
test_request(request)
return reply
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment