Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[formrecognizer] test cleanup #18830

Merged
merged 3 commits into from
May 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@ interactions:
string: ''
headers:
apim-request-id:
- 766914ac-f90e-46cb-aa14-802ce731bc0b
- 92f2dbe8-bd11-4b1b-85bd-70a6dead2e50
content-length:
- '0'
date:
- Tue, 11 May 2021 02:15:55 GMT
- Thu, 20 May 2021 16:19:18 GMT
operation-location:
- https://region.api.cognitive.microsoft.com/formrecognizer/v2.1/prebuilt/idDocument/analyzeResults/766914ac-f90e-46cb-aa14-802ce731bc0b
- https://region.api.cognitive.microsoft.com/formrecognizer/v2.1/prebuilt/idDocument/analyzeResults/92f2dbe8-bd11-4b1b-85bd-70a6dead2e50
strict-transport-security:
- max-age=31536000; includeSubDomains; preload
x-content-type-options:
- nosniff
x-envoy-upstream-service-time:
- '80'
- '93'
status:
code: 202
message: Accepted
Expand All @@ -50,11 +50,11 @@ interactions:
User-Agent:
- azsdk-python-ai-formrecognizer/3.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1/prebuilt/idDocument/analyzeResults/766914ac-f90e-46cb-aa14-802ce731bc0b
uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1/prebuilt/idDocument/analyzeResults/92f2dbe8-bd11-4b1b-85bd-70a6dead2e50
response:
body:
string: '{"status": "succeeded", "createdDateTime": "2021-05-11T02:15:55Z",
"lastUpdatedDateTime": "2021-05-11T02:15:57Z", "analyzeResult": {"version":
string: '{"status": "succeeded", "createdDateTime": "2021-05-20T16:19:18Z",
"lastUpdatedDateTime": "2021-05-20T16:19:20Z", "analyzeResult": {"version":
"2.1.0", "readResults": [{"page": 1, "angle": -0.2823, "width": 450, "height":
294, "unit": "pixel"}], "documentResults": [{"docType": "prebuilt:idDocument:driverLicense",
"docTypeConfidence": 0.995, "pageRange": [1, 1], "fields": {"Address": {"type":
Expand All @@ -78,19 +78,19 @@ interactions:
232, 190, 233, 201, 226, 201], "page": 1, "confidence": 0.99}}}]}}'
headers:
apim-request-id:
- 5a8700ad-44a8-435c-9b4c-86ea143380fd
- e78a1d9a-514c-4d67-8dab-7bfd0e410188
content-length:
- '1606'
content-type:
- application/json; charset=utf-8
date:
- Tue, 11 May 2021 02:15:59 GMT
- Thu, 20 May 2021 16:19:23 GMT
strict-transport-security:
- max-age=31536000; includeSubDomains; preload
x-content-type-options:
- nosniff
x-envoy-upstream-service-time:
- '17'
- '27'
status:
code: 200
message: OK
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ interactions:
body:
string: ''
headers:
apim-request-id: 47c96373-41b9-4e09-a904-8a96b611b350
apim-request-id: 0568b327-d9f4-458c-ad65-697fcf8915f4
content-length: '0'
date: Tue, 11 May 2021 02:17:38 GMT
operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1/prebuilt/idDocument/analyzeResults/47c96373-41b9-4e09-a904-8a96b611b350
date: Thu, 20 May 2021 16:19:42 GMT
operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1/prebuilt/idDocument/analyzeResults/0568b327-d9f4-458c-ad65-697fcf8915f4
strict-transport-security: max-age=31536000; includeSubDomains; preload
x-content-type-options: nosniff
x-envoy-upstream-service-time: '160'
x-envoy-upstream-service-time: '103'
status:
code: 202
message: Accepted
Expand All @@ -32,11 +32,11 @@ interactions:
User-Agent:
- azsdk-python-ai-formrecognizer/3.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1/prebuilt/idDocument/analyzeResults/47c96373-41b9-4e09-a904-8a96b611b350
uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1/prebuilt/idDocument/analyzeResults/0568b327-d9f4-458c-ad65-697fcf8915f4
response:
body:
string: '{"status": "succeeded", "createdDateTime": "2021-05-11T02:17:38Z",
"lastUpdatedDateTime": "2021-05-11T02:17:40Z", "analyzeResult": {"version":
string: '{"status": "succeeded", "createdDateTime": "2021-05-20T16:19:43Z",
"lastUpdatedDateTime": "2021-05-20T16:19:45Z", "analyzeResult": {"version":
"2.1.0", "readResults": [{"page": 1, "angle": -0.2823, "width": 450, "height":
294, "unit": "pixel"}], "documentResults": [{"docType": "prebuilt:idDocument:driverLicense",
"docTypeConfidence": 0.995, "pageRange": [1, 1], "fields": {"Address": {"type":
Expand All @@ -59,15 +59,15 @@ interactions:
{"type": "string", "valueString": "M", "text": "M", "boundingBox": [226, 190,
232, 190, 233, 201, 226, 201], "page": 1, "confidence": 0.99}}}]}}'
headers:
apim-request-id: 6a846c69-bf82-491d-b66b-9bb542c902a4
apim-request-id: 3e29641d-94fe-44bd-9785-6c8444b25eaf
content-length: '1606'
content-type: application/json; charset=utf-8
date: Tue, 11 May 2021 02:17:42 GMT
date: Thu, 20 May 2021 16:19:47 GMT
strict-transport-security: max-age=31536000; includeSubDomains; preload
x-content-type-options: nosniff
x-envoy-upstream-service-time: '17'
x-envoy-upstream-service-time: '23'
status:
code: 200
message: OK
url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1/prebuilt/idDocument/analyzeResults/47c96373-41b9-4e09-a904-8a96b611b350
url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1/prebuilt/idDocument/analyzeResults/0568b327-d9f4-458c-ad65-697fcf8915f4
version: 1
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ interactions:
string: ''
headers:
apim-request-id:
- ec0b77c5-d526-49da-a488-8ca5933398bd
- d30277de-caa5-48c3-a79b-e4afc2f391c1
content-length:
- '0'
date:
- Tue, 11 May 2021 02:20:41 GMT
- Thu, 20 May 2021 16:20:03 GMT
operation-location:
- https://region.api.cognitive.microsoft.com/formrecognizer/v2.1/prebuilt/idDocument/analyzeResults/ec0b77c5-d526-49da-a488-8ca5933398bd
- https://region.api.cognitive.microsoft.com/formrecognizer/v2.1/prebuilt/idDocument/analyzeResults/d30277de-caa5-48c3-a79b-e4afc2f391c1
strict-transport-security:
- max-age=31536000; includeSubDomains; preload
x-content-type-options:
- nosniff
x-envoy-upstream-service-time:
- '795'
- '935'
status:
code: 202
message: Accepted
Expand All @@ -49,11 +49,11 @@ interactions:
User-Agent:
- azsdk-python-ai-formrecognizer/3.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1/prebuilt/idDocument/analyzeResults/ec0b77c5-d526-49da-a488-8ca5933398bd
uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1/prebuilt/idDocument/analyzeResults/d30277de-caa5-48c3-a79b-e4afc2f391c1
response:
body:
string: '{"status": "succeeded", "createdDateTime": "2021-05-11T02:20:41Z",
"lastUpdatedDateTime": "2021-05-11T02:20:43Z", "analyzeResult": {"version":
string: '{"status": "succeeded", "createdDateTime": "2021-05-20T16:20:03Z",
"lastUpdatedDateTime": "2021-05-20T16:20:05Z", "analyzeResult": {"version":
"2.1.0", "readResults": [{"page": 1, "angle": -0.2823, "width": 450, "height":
294, "unit": "pixel"}], "documentResults": [{"docType": "prebuilt:idDocument:driverLicense",
"docTypeConfidence": 0.995, "pageRange": [1, 1], "fields": {"Address": {"type":
Expand All @@ -77,19 +77,19 @@ interactions:
232, 190, 233, 201, 226, 201], "page": 1, "confidence": 0.99}}}]}}'
headers:
apim-request-id:
- fdcc52f6-b087-4ba4-9135-e77f885d829c
- 39400dd8-39cc-4d10-b6a7-b24a198e2177
content-length:
- '1606'
content-type:
- application/json; charset=utf-8
date:
- Tue, 11 May 2021 02:20:45 GMT
- Thu, 20 May 2021 16:20:07 GMT
strict-transport-security:
- max-age=31536000; includeSubDomains; preload
x-content-type-options:
- nosniff
x-envoy-upstream-service-time:
- '18'
- '28'
status:
code: 200
message: OK
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ interactions:
body:
string: ''
headers:
apim-request-id: f7c00ad4-fc91-472b-bf0a-702a603773fa
apim-request-id: c4a31898-a94b-4275-a6ff-2fb78e7f2d55
content-length: '0'
date: Tue, 11 May 2021 02:24:31 GMT
operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1/prebuilt/idDocument/analyzeResults/f7c00ad4-fc91-472b-bf0a-702a603773fa
date: Thu, 20 May 2021 16:20:38 GMT
operation-location: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1/prebuilt/idDocument/analyzeResults/c4a31898-a94b-4275-a6ff-2fb78e7f2d55
strict-transport-security: max-age=31536000; includeSubDomains; preload
x-content-type-options: nosniff
x-envoy-upstream-service-time: '679'
x-envoy-upstream-service-time: '965'
status:
code: 202
message: Accepted
Expand All @@ -33,11 +33,11 @@ interactions:
User-Agent:
- azsdk-python-ai-formrecognizer/3.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1/prebuilt/idDocument/analyzeResults/f7c00ad4-fc91-472b-bf0a-702a603773fa
uri: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1/prebuilt/idDocument/analyzeResults/c4a31898-a94b-4275-a6ff-2fb78e7f2d55
response:
body:
string: '{"status": "succeeded", "createdDateTime": "2021-05-11T02:24:31Z",
"lastUpdatedDateTime": "2021-05-11T02:24:33Z", "analyzeResult": {"version":
string: '{"status": "succeeded", "createdDateTime": "2021-05-20T16:20:38Z",
"lastUpdatedDateTime": "2021-05-20T16:20:40Z", "analyzeResult": {"version":
"2.1.0", "readResults": [{"page": 1, "angle": -0.2823, "width": 450, "height":
294, "unit": "pixel"}], "documentResults": [{"docType": "prebuilt:idDocument:driverLicense",
"docTypeConfidence": 0.995, "pageRange": [1, 1], "fields": {"Address": {"type":
Expand All @@ -60,15 +60,15 @@ interactions:
{"type": "string", "valueString": "M", "text": "M", "boundingBox": [226, 190,
232, 190, 233, 201, 226, 201], "page": 1, "confidence": 0.99}}}]}}'
headers:
apim-request-id: 71787411-e64c-42cf-b7b4-40e8b153da37
apim-request-id: 15d42c00-53e6-43e0-917a-997e0c14fd3e
content-length: '1606'
content-type: application/json; charset=utf-8
date: Tue, 11 May 2021 02:24:36 GMT
date: Thu, 20 May 2021 16:20:43 GMT
strict-transport-security: max-age=31536000; includeSubDomains; preload
x-content-type-options: nosniff
x-envoy-upstream-service-time: '22'
x-envoy-upstream-service-time: '26'
status:
code: 200
message: OK
url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1/prebuilt/idDocument/analyzeResults/f7c00ad4-fc91-472b-bf0a-702a603773fa
url: https://region.api.cognitive.microsoft.com/formrecognizer/v2.1/prebuilt/idDocument/analyzeResults/c4a31898-a94b-4275-a6ff-2fb78e7f2d55
version: 1
Loading