-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NEW: implement
ZeepBackend.with_params()
✨
- Loading branch information
Showing
6 changed files
with
260 additions
and
7 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
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
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
55 changes: 55 additions & 0 deletions
55
tests/integration/cassettes/test_number_conversion/test_happy_path_with_params.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
interactions: | ||
- request: | ||
body: '<?xml version=''1.0'' encoding=''utf-8''?> | ||
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Body><ns0:NumberToWords | ||
xmlns:ns0="http://www.dataaccess.com/webservicesserver/"><ns0:ubiNum>42</ns0:ubiNum></ns0:NumberToWords></soap-env:Body></soap-env:Envelope>' | ||
headers: | ||
Accept: | ||
- '*/*' | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
Content-Length: | ||
- '291' | ||
Content-Type: | ||
- text/xml; charset=utf-8 | ||
SOAPAction: | ||
- '""' | ||
User-Agent: | ||
- Zeep/4.2.1 (www.python-zeep.org) | ||
method: POST | ||
uri: https://www.dataaccess.com/webservicesserver/NumberConversion.wso | ||
response: | ||
body: | ||
string: !!binary | | ||
H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl | ||
VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/Ih7/Hu8W | ||
ZXqZ101RLT/7aHe881GaL6fVrFhefPbRuj3fPvjo9zj6jZPHTZWtHp0uL/OyWuUpvbRsHuGzzz6a | ||
t+3q0d27zXSeL7JmTF/h83FVX9zFL3dzfenuRwQnTQXSk2p2zX/SB4tHL9aLSV6/qb5b1bPmVd6s | ||
qmVjOlnYHq6ursazrM2y6TRvmvG0Wty9yidNXl8W+IB+5rV2gicCd122R+dV3V6n7VWVPr4bbyEA | ||
Yt8yXvz9Yx6bGYb+Zchz9P8A3rWog1YBAAA= | ||
headers: | ||
Cache-Control: | ||
- private, max-age=0 | ||
Content-Encoding: | ||
- gzip | ||
Content-Length: | ||
- '311' | ||
Content-Type: | ||
- text/xml; charset=utf-8 | ||
Date: | ||
- Fri, 28 Jul 2023 12:21:43 GMT | ||
Server: | ||
- Server | ||
Vary: | ||
- Accept-Encoding | ||
Web-Service: | ||
- DataFlex 19.1 | ||
X-Powered-By: | ||
- ASP.NET | ||
status: | ||
code: 200 | ||
message: OK | ||
version: 1 |
52 changes: 52 additions & 0 deletions
52
tests/integration/cassettes/test_number_conversion/test_happy_path_with_params_async.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
interactions: | ||
- request: | ||
body: '<?xml version=''1.0'' encoding=''utf-8''?> | ||
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Body><ns0:NumberToWords | ||
xmlns:ns0="http://www.dataaccess.com/webservicesserver/"><ns0:ubiNum>42</ns0:ubiNum></ns0:NumberToWords></soap-env:Body></soap-env:Envelope>' | ||
headers: | ||
accept: | ||
- '*/*' | ||
accept-encoding: | ||
- gzip, deflate | ||
connection: | ||
- keep-alive | ||
content-length: | ||
- '291' | ||
content-type: | ||
- text/xml; charset=utf-8 | ||
host: | ||
- www.dataaccess.com | ||
soapaction: | ||
- '""' | ||
user-agent: | ||
- Zeep/4.2.1 (www.python-zeep.org) | ||
method: POST | ||
uri: https://www.dataaccess.com/webservicesserver/NumberConversion.wso | ||
response: | ||
content: "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r\n | ||
\ <soap:Body>\r\n <m:NumberToWordsResponse xmlns:m=\"http://www.dataaccess.com/webservicesserver/\">\r\n | ||
\ <m:NumberToWordsResult>forty two </m:NumberToWordsResult>\r\n </m:NumberToWordsResponse>\r\n | ||
\ </soap:Body>\r\n</soap:Envelope>" | ||
headers: | ||
Cache-Control: | ||
- private, max-age=0 | ||
Content-Encoding: | ||
- gzip | ||
Content-Length: | ||
- '311' | ||
Content-Type: | ||
- text/xml; charset=utf-8 | ||
Date: | ||
- Fri, 28 Jul 2023 12:22:51 GMT | ||
Server: | ||
- Server | ||
Vary: | ||
- Accept-Encoding | ||
Web-Service: | ||
- DataFlex 19.1 | ||
X-Powered-By: | ||
- ASP.NET | ||
http_version: HTTP/1.1 | ||
status_code: 200 | ||
version: 1 |
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