Skip to content

Commit

Permalink
Parameterize test_examples_certificates*.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mccoyp committed Mar 23, 2021
1 parent 4334df3 commit d348ef2
Show file tree
Hide file tree
Showing 43 changed files with 19,781 additions and 5,050 deletions.

This file was deleted.

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.

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.

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.

Original file line number Diff line number Diff line change
@@ -0,0 +1,197 @@
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 23:51:59 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": [{"name": "John Doe", "email": "[email protected]", "phone":
"1111111111"}, {"name": "John Doe2", "email": "[email protected]", "phone":
"2222222222"}]}'
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 23:52:00 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 23:52:00 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 23:52:00 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
version: 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,197 @@
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=7.0
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 23:52:01 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": [{"name": "John Doe", "email": "[email protected]", "phone":
"1111111111"}, {"name": "John Doe2", "email": "[email protected]", "phone":
"2222222222"}]}'
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=7.0
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 23:52:01 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=7.0
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 23:52:01 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=7.0
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 23:52:02 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
version: 1
Loading

0 comments on commit d348ef2

Please sign in to comment.