forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add missing test cases and recordings (Azure#28257)
- Loading branch information
1 parent
25f35a8
commit be96755
Showing
67 changed files
with
1,113 additions
and
445 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
52 changes: 52 additions & 0 deletions
52
...mmunication_identity_client.pyTestClienttest_create_user_and_token[chat&voip-value2].json
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 @@ | ||
{ | ||
"Entries": [ | ||
{ | ||
"RequestUri": "https://sanitized.communication.azure.com/identities?api-version=2022-10-01", | ||
"RequestMethod": "POST", | ||
"RequestHeaders": { | ||
"Accept": "application/json", | ||
"Accept-Encoding": "gzip, deflate", | ||
"Authorization": "Sanitized", | ||
"Connection": "keep-alive", | ||
"Content-Length": "69", | ||
"Content-Type": "application/json", | ||
"User-Agent": "azsdk-python-communication-identity/1.3.2 Python/3.9.13 (Windows-10-10.0.22621-SP0)", | ||
"x-ms-client-request-id": "sanitized", | ||
"x-ms-content-sha256": "sanitized", | ||
"x-ms-date": "sanitized", | ||
"x-ms-return-client-request-id": "true" | ||
}, | ||
"RequestBody": { | ||
"createTokenWithScopes": [ | ||
"voip", | ||
"chat" | ||
], | ||
"expiresInMinutes": null | ||
}, | ||
"StatusCode": 201, | ||
"ResponseHeaders": { | ||
"api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01, 2022-10-01", | ||
"Content-Length": "115", | ||
"Content-Type": "application/json; charset=utf-8", | ||
"Date": "sanitized", | ||
"MS-CV": "sanitized", | ||
"Request-Context": "appId=", | ||
"Strict-Transport-Security": "max-age=2592000", | ||
"X-Azure-Ref": "sanitized", | ||
"X-Cache": "CONFIG_NOCACHE", | ||
"x-ms-client-request-id": "sanitized", | ||
"X-Processing-Time": "114ms" | ||
}, | ||
"ResponseBody": { | ||
"identity": { | ||
"id": "sanitized" | ||
}, | ||
"accessToken": { | ||
"token": "sanitized", | ||
"expiresOn": "2023-01-13T11:26:20.7467648\u002B00:00" | ||
} | ||
} | ||
} | ||
], | ||
"Variables": {} | ||
} |
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
51 changes: 51 additions & 0 deletions
51
...st_communication_identity_client.pyTestClienttest_create_user_and_token[voip-value1].json
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,51 @@ | ||
{ | ||
"Entries": [ | ||
{ | ||
"RequestUri": "https://sanitized.communication.azure.com/identities?api-version=2022-10-01", | ||
"RequestMethod": "POST", | ||
"RequestHeaders": { | ||
"Accept": "application/json", | ||
"Accept-Encoding": "gzip, deflate", | ||
"Authorization": "Sanitized", | ||
"Connection": "keep-alive", | ||
"Content-Length": "61", | ||
"Content-Type": "application/json", | ||
"User-Agent": "azsdk-python-communication-identity/1.3.2 Python/3.9.13 (Windows-10-10.0.22621-SP0)", | ||
"x-ms-client-request-id": "sanitized", | ||
"x-ms-content-sha256": "sanitized", | ||
"x-ms-date": "sanitized", | ||
"x-ms-return-client-request-id": "true" | ||
}, | ||
"RequestBody": { | ||
"createTokenWithScopes": [ | ||
"voip" | ||
], | ||
"expiresInMinutes": null | ||
}, | ||
"StatusCode": 201, | ||
"ResponseHeaders": { | ||
"api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01, 2022-10-01", | ||
"Content-Length": "115", | ||
"Content-Type": "application/json; charset=utf-8", | ||
"Date": "sanitized", | ||
"MS-CV": "sanitized", | ||
"Request-Context": "appId=", | ||
"Strict-Transport-Security": "max-age=2592000", | ||
"X-Azure-Ref": "sanitized", | ||
"X-Cache": "CONFIG_NOCACHE", | ||
"x-ms-client-request-id": "sanitized", | ||
"X-Processing-Time": "111ms" | ||
}, | ||
"ResponseBody": { | ||
"identity": { | ||
"id": "sanitized" | ||
}, | ||
"accessToken": { | ||
"token": "sanitized", | ||
"expiresOn": "2023-01-13T11:26:20.3039373\u002B00:00" | ||
} | ||
} | ||
} | ||
], | ||
"Variables": {} | ||
} |
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
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
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
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
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
Oops, something went wrong.