Skip to content

Commit

Permalink
Parameterize test_certificates_client*.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mccoyp committed Mar 23, 2021
1 parent f7c5c8c commit dff5639
Show file tree
Hide file tree
Showing 114 changed files with 83,735 additions and 18,606 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

This file was deleted.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,240 @@
interactions:
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '0'
Content-Type:
- application/json
User-Agent:
- azsdk-python-keyvault-certificates/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0)
method: PUT
uri: https://vaultname.vault.azure.net/certificates/contacts?api-version=2016-10-01
response:
body:
string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer
or PoP token."}}'
headers:
cache-control:
- no-cache
content-length:
- '87'
content-type:
- application/json; charset=utf-8
date:
- Mon, 22 Mar 2021 21:27:04 GMT
expires:
- '-1'
pragma:
- no-cache
strict-transport-security:
- max-age=31536000;includeSubDomains
www-authenticate:
- Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47",
resource="https://vault.azure.net"
x-content-type-options:
- nosniff
x-ms-keyvault-network-info:
- conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork;
x-ms-keyvault-region:
- eastus2
x-ms-keyvault-service-version:
- 1.2.205.0
x-powered-by:
- ASP.NET
status:
code: 401
message: Unauthorized
- request:
body: '{"contacts": [{"phone": "1111111111", "name": "John Doe", "email": "[email protected]"},
{"phone": "2222222222", "name": "John Doe2", "email": "[email protected]"}]}'
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '166'
Content-Type:
- application/json
User-Agent:
- azsdk-python-keyvault-certificates/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0)
method: PUT
uri: https://vaultname.vault.azure.net/certificates/contacts?api-version=2016-10-01
response:
body:
string: '{"id":"https://vaultname.vault.azure.net/certificates/contacts","contacts":[{"email":"[email protected]","name":"John
Doe","phone":"1111111111"},{"email":"[email protected]","name":"John Doe2","phone":"2222222222"}]}'
headers:
cache-control:
- no-cache
content-length:
- '220'
content-type:
- application/json; charset=utf-8
date:
- Mon, 22 Mar 2021 21:27:04 GMT
expires:
- '-1'
pragma:
- no-cache
strict-transport-security:
- max-age=31536000;includeSubDomains
x-content-type-options:
- nosniff
x-ms-keyvault-network-info:
- conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork;
x-ms-keyvault-region:
- eastus2
x-ms-keyvault-service-version:
- 1.2.205.0
x-powered-by:
- ASP.NET
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- azsdk-python-keyvault-certificates/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://vaultname.vault.azure.net/certificates/contacts?api-version=2016-10-01
response:
body:
string: '{"id":"https://vaultname.vault.azure.net/certificates/contacts","contacts":[{"email":"[email protected]","name":"John
Doe","phone":"1111111111"},{"email":"[email protected]","name":"John Doe2","phone":"2222222222"}]}'
headers:
cache-control:
- no-cache
content-length:
- '220'
content-type:
- application/json; charset=utf-8
date:
- Mon, 22 Mar 2021 21:27:04 GMT
expires:
- '-1'
pragma:
- no-cache
strict-transport-security:
- max-age=31536000;includeSubDomains
x-content-type-options:
- nosniff
x-ms-keyvault-network-info:
- conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork;
x-ms-keyvault-region:
- eastus2
x-ms-keyvault-service-version:
- 1.2.205.0
x-powered-by:
- ASP.NET
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '0'
User-Agent:
- azsdk-python-keyvault-certificates/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0)
method: DELETE
uri: https://vaultname.vault.azure.net/certificates/contacts?api-version=2016-10-01
response:
body:
string: '{"id":"https://vaultname.vault.azure.net/certificates/contacts","contacts":[{"email":"[email protected]","name":"John
Doe","phone":"1111111111"},{"email":"[email protected]","name":"John Doe2","phone":"2222222222"}]}'
headers:
cache-control:
- no-cache
content-length:
- '220'
content-type:
- application/json; charset=utf-8
date:
- Mon, 22 Mar 2021 21:27:05 GMT
expires:
- '-1'
pragma:
- no-cache
strict-transport-security:
- max-age=31536000;includeSubDomains
x-content-type-options:
- nosniff
x-ms-keyvault-network-info:
- conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork;
x-ms-keyvault-region:
- eastus2
x-ms-keyvault-service-version:
- 1.2.205.0
x-powered-by:
- ASP.NET
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- azsdk-python-keyvault-certificates/4.3.0b1 Python/3.5.3 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://vaultname.vault.azure.net/certificates/contacts?api-version=2016-10-01
response:
body:
string: '{"error":{"code":"ContactsNotFound","message":"Contacts not found"}}'
headers:
cache-control:
- no-cache
content-length:
- '68'
content-type:
- application/json; charset=utf-8
date:
- Mon, 22 Mar 2021 21:27:05 GMT
expires:
- '-1'
pragma:
- no-cache
strict-transport-security:
- max-age=31536000;includeSubDomains
x-content-type-options:
- nosniff
x-ms-keyvault-network-info:
- conn_type=Ipv4;addr=172.92.159.124;act_addr_fam=InterNetwork;
x-ms-keyvault-region:
- eastus2
x-ms-keyvault-service-version:
- 1.2.205.0
x-powered-by:
- ASP.NET
status:
code: 404
message: Not Found
version: 1
Loading

0 comments on commit dff5639

Please sign in to comment.