Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
da53d7a
remove two deprecated kinds 'webapp' 'registration', and add 'azurebo…
jiaxuwu2021 May 7, 2022
560cab2
fix test case
chinazhangchao Jun 10, 2022
f1476e9
Merge branch 'dev' into jiaxuwu/clibotcreateazurebot
chinazhangchao Jun 10, 2022
f4fb67b
Merge branch 'jiaxuwu/clibotcreateazurebot' into chao/clibotcreate
chinazhangchao Jun 10, 2022
34dc78c
add app_type param, upgrade azure-mgmt-botservice
chinazhangchao Jun 14, 2022
7e212fb
Merge branch 'dev' into chao/clibotcreate
chinazhangchao Jun 14, 2022
fafca0d
add param
chinazhangchao Jun 15, 2022
217803e
Merge branch 'dev' into chao/clibotcreate
chinazhangchao Jun 17, 2022
c54a44f
fix test case
chinazhangchao Jun 17, 2022
67091e9
fix test error
chinazhangchao Jun 17, 2022
39798b5
fix test case
chinazhangchao Jun 17, 2022
f4de72b
fix test case
chinazhangchao Jun 20, 2022
6dc39d4
Merge branch 'dev' of https://github.com/Azure/azure-cli into chao/cl…
chinazhangchao Jun 20, 2022
e29ce63
fix test case
chinazhangchao Jun 20, 2022
954afd3
fix test case
chinazhangchao Jun 20, 2022
e05d898
fix test case
chinazhangchao Jun 20, 2022
f971fab
fix test case
chinazhangchao Jun 21, 2022
371c07b
Merge branch 'dev' of https://github.com/Azure/azure-cli into chao/cl…
chinazhangchao Jun 21, 2022
e574433
fix
chinazhangchao Jun 21, 2022
64c1bdc
fix tests. update recoding
fangyangci Jun 22, 2022
ab8e772
update recording
chinazhangchao Jun 24, 2022
0d8bcd0
update recording
chinazhangchao Jun 24, 2022
e0dad96
Merge branch 'dev' of https://github.com/Azure/azure-cli into chao/cl…
chinazhangchao Jun 24, 2022
581c316
fix errorexception
chinazhangchao Jun 24, 2022
7355aee
Merge branch 'dev' of https://github.com/Azure/azure-cli into chao/cl…
chinazhangchao Jun 24, 2022
d3dc2ae
update recording
chinazhangchao Jun 24, 2022
a73ac49
add bot type test
chinazhangchao Jun 27, 2022
8fd5ff6
Merge branch 'dev' of https://github.com/Azure/azure-cli into chao/cl…
chinazhangchao Jun 27, 2022
f00d005
change azure-mgmt-botservice version
chinazhangchao Jun 27, 2022
83f9e15
use new error types
chinazhangchao Jun 27, 2022
637fdd8
change import
chinazhangchao Jun 27, 2022
0117a2c
format
chinazhangchao Jun 27, 2022
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
Prev Previous commit
Next Next commit
fix tests. update recoding
  • Loading branch information
fangyangci committed Jun 22, 2022
commit 64c1bdc16783d7b1995b7ac08bee20f6ca3849e3
18 changes: 6 additions & 12 deletions azure-cli2017.pyproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
<CommandLineArguments>
</CommandLineArguments>
<IsWindowsApplication>False</IsWindowsApplication>
<TestFramework>pytest</TestFramework>
<UnitTestPattern>test*.py</UnitTestPattern>
<UnitTestRootDirectory>.</UnitTestRootDirectory>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Debug'" />
<PropertyGroup Condition="'$(Configuration)' == 'Release'" />
Expand Down Expand Up @@ -1467,19 +1470,10 @@
<Content Include="azure-cli\setup.cfg" />
</ItemGroup>
<ItemGroup>
<Interpreter Include="..\..\env2\">
<Id>env2</Id>
<Version>2.7</Version>
<Description>env2 (Python 2.7 (64-bit))</Description>
<InterpreterPath>Scripts\python.exe</InterpreterPath>
<WindowsInterpreterPath>Scripts\pythonw.exe</WindowsInterpreterPath>
<PathEnvironmentVariable>PYTHONPATH</PathEnvironmentVariable>
<Architecture>X64</Architecture>
</Interpreter>
<Interpreter Include="..\..\env\">
<Interpreter Include="..\env\">
<Id>env</Id>
<Version>3.7</Version>
<Description>env (Python 3.7 (64-bit))</Description>
<Version>3.8</Version>
<Description>env (Python 3.8 (64-bit))</Description>
<InterpreterPath>Scripts\python.exe</InterpreterPath>
<WindowsInterpreterPath>Scripts\pythonw.exe</WindowsInterpreterPath>
<PathEnvironmentVariable>PYTHONPATH</PathEnvironmentVariable>
Expand Down

This file was deleted.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 21 Jun 2022 08:25:59 GMT
- Wed, 22 Jun 2022 09:34:13 GMT
expires:
- '-1'
pragma:
Expand All @@ -45,15 +45,15 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-tenant-writes:
- '1199'
- '1197'
status:
code: 200
message: OK
- request:
body: '{"location": "global", "tags": {"key1": "value1"}, "sku": {"name": "F0"},
"kind": "azurebot", "properties": {"displayName": "cli000002", "description":
"description1", "endpoint": "https://www.google.com/api/messages", "msaAppType":
"MultiTenant", "msaAppId": "f35045ad-e67d-4a83-bdf3-52763d4bf7af", "isCmekEnabled":
"MultiTenant", "msaAppId": "12aac570-7cfb-4614-8170-796b29aa4331", "isCmekEnabled":
false, "publicNetworkAccess": "Enabled", "isStreamingSupported": false}}'
headers:
Accept:
Expand All @@ -76,7 +76,7 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.BotService/botServices/cli000002?api-version=2021-05-01-preview
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.BotService/botServices/cli000002","name":"cli000002","type":"Microsoft.BotService/botServices","etag":"\"b8009360-0000-1800-0000-62b1809f0000\"","location":"global","sku":{"name":"F0"},"kind":"azurebot","tags":{"key1":"value1"},"properties":{"displayName":"cli000002","description":"description1","iconUrl":"https://docs.botframework.com/static/devportal/client/images/bot-framework-default.png","endpoint":"https://www.google.com/api/messages","msaAppId":"f35045ad-e67d-4a83-bdf3-52763d4bf7af","msaAppTenantId":null,"msaAppType":"MultiTenant","msaAppMSIResourceId":null,"developerAppInsightKey":null,"developerAppInsightsApplicationId":null,"luisAppIds":[],"endpointVersion":"3.0","configuredChannels":["webchat"],"enabledChannels":["webchat","directline"],"isDeveloperAppInsightsApiKeySet":false,"isStreamingSupported":false,"schemaTransformationVersion":"1.3","publishingCredentials":null,"parameters":null,"allSettings":null,"manifestUrl":null,"storageResourceId":null,"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","migrationToken":null,"isCmekEnabled":false,"cmekKeyVaultUrl":null,"openWithHint":null,"appPasswordHint":null,"publicNetworkAccess":"Enabled","disableLocalAuth":false,"cmekEncryptionStatus":"Off","provisioningState":"Succeeded"},"zones":[]}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.BotService/botServices/cli000002","name":"cli000002","type":"Microsoft.BotService/botServices","etag":"\"9b00acf6-0000-1800-0000-62b2e21a0000\"","location":"global","sku":{"name":"F0"},"kind":"azurebot","tags":{"key1":"value1"},"properties":{"displayName":"cli000002","description":"description1","iconUrl":"https://docs.botframework.com/static/devportal/client/images/bot-framework-default.png","endpoint":"https://www.google.com/api/messages","msaAppId":"12aac570-7cfb-4614-8170-796b29aa4331","msaAppTenantId":null,"msaAppType":"MultiTenant","msaAppMSIResourceId":null,"developerAppInsightKey":null,"developerAppInsightsApplicationId":null,"luisAppIds":[],"endpointVersion":"3.0","configuredChannels":["webchat"],"enabledChannels":["webchat","directline"],"isDeveloperAppInsightsApiKeySet":false,"isStreamingSupported":false,"schemaTransformationVersion":"1.3","publishingCredentials":null,"parameters":null,"allSettings":null,"manifestUrl":null,"storageResourceId":null,"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","migrationToken":null,"isCmekEnabled":false,"cmekKeyVaultUrl":null,"openWithHint":null,"appPasswordHint":null,"publicNetworkAccess":"Enabled","disableLocalAuth":false,"cmekEncryptionStatus":"Off","provisioningState":"Succeeded"},"zones":[]}'
headers:
cache-control:
- no-cache
Expand All @@ -85,9 +85,9 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 21 Jun 2022 08:26:09 GMT
- Wed, 22 Jun 2022 09:34:19 GMT
etag:
- '"b8009360-0000-1800-0000-62b1809f0000"'
- '"9b00acf6-0000-1800-0000-62b2e21a0000"'
expires:
- '-1'
pragma:
Expand All @@ -97,7 +97,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1199'
- '1195'
status:
code: 201
message: Created
Expand Down Expand Up @@ -133,7 +133,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 21 Jun 2022 08:26:09 GMT
- Wed, 22 Jun 2022 09:34:20 GMT
expires:
- '-1'
pragma:
Expand All @@ -147,7 +147,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-tenant-writes:
- '1199'
- '1196'
status:
code: 200
message: OK
Expand All @@ -170,7 +170,7 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.BotService/botServices/cli000002?api-version=2021-05-01-preview
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.BotService/botServices/cli000002","name":"cli000002","type":"Microsoft.BotService/botServices","etag":"\"b8009360-0000-1800-0000-62b1809f0000\"","location":"global","sku":{"name":"F0"},"kind":"azurebot","tags":{"key1":"value1"},"properties":{"displayName":"cli000002","description":"description1","iconUrl":"https://docs.botframework.com/static/devportal/client/images/bot-framework-default.png","endpoint":"https://www.google.com/api/messages","msaAppId":"f35045ad-e67d-4a83-bdf3-52763d4bf7af","msaAppTenantId":null,"msaAppType":"MultiTenant","msaAppMSIResourceId":null,"developerAppInsightKey":null,"developerAppInsightsApplicationId":null,"luisAppIds":[],"endpointVersion":"3.0","configuredChannels":["webchat"],"enabledChannels":["webchat","directline"],"isDeveloperAppInsightsApiKeySet":false,"isStreamingSupported":false,"schemaTransformationVersion":"1.3","publishingCredentials":null,"parameters":null,"allSettings":null,"manifestUrl":null,"storageResourceId":null,"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","migrationToken":null,"isCmekEnabled":false,"cmekKeyVaultUrl":null,"openWithHint":null,"appPasswordHint":null,"publicNetworkAccess":"Enabled","disableLocalAuth":false,"cmekEncryptionStatus":"Off","provisioningState":"Succeeded"},"zones":[]}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.BotService/botServices/cli000002","name":"cli000002","type":"Microsoft.BotService/botServices","etag":"\"9b00acf6-0000-1800-0000-62b2e21a0000\"","location":"global","sku":{"name":"F0"},"kind":"azurebot","tags":{"key1":"value1"},"properties":{"displayName":"cli000002","description":"description1","iconUrl":"https://docs.botframework.com/static/devportal/client/images/bot-framework-default.png","endpoint":"https://www.google.com/api/messages","msaAppId":"12aac570-7cfb-4614-8170-796b29aa4331","msaAppTenantId":null,"msaAppType":"MultiTenant","msaAppMSIResourceId":null,"developerAppInsightKey":null,"developerAppInsightsApplicationId":null,"luisAppIds":[],"endpointVersion":"3.0","configuredChannels":["webchat"],"enabledChannels":["webchat","directline"],"isDeveloperAppInsightsApiKeySet":false,"isStreamingSupported":false,"schemaTransformationVersion":"1.3","publishingCredentials":null,"parameters":null,"allSettings":null,"manifestUrl":null,"storageResourceId":null,"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","migrationToken":null,"isCmekEnabled":false,"cmekKeyVaultUrl":null,"openWithHint":null,"appPasswordHint":null,"publicNetworkAccess":"Enabled","disableLocalAuth":false,"cmekEncryptionStatus":"Off","provisioningState":"Succeeded"},"zones":[]}'
headers:
cache-control:
- no-cache
Expand All @@ -179,9 +179,9 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 21 Jun 2022 08:26:10 GMT
- Wed, 22 Jun 2022 09:34:20 GMT
etag:
- '"b8009360-0000-1800-0000-62b1809f0000"'
- '"9b00acf6-0000-1800-0000-62b2e21a0000"'
expires:
- '-1'
pragma:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ interactions:
cache-control:
- no-cache
date:
- Tue, 21 Jun 2022 08:26:00 GMT
- Wed, 22 Jun 2022 09:34:27 GMT
expires:
- '-1'
pragma:
Expand All @@ -35,7 +35,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-deletes:
- '14999'
- '14997'
status:
code: 204
message: No Content
Expand Down Expand Up @@ -71,7 +71,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 21 Jun 2022 08:26:01 GMT
- Wed, 22 Jun 2022 09:34:28 GMT
expires:
- '-1'
pragma:
Expand All @@ -85,14 +85,14 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-tenant-writes:
- '1199'
- '1195'
status:
code: 200
message: OK
- request:
body: '{"location": "global", "sku": {"name": "F0"}, "kind": "azurebot", "properties":
{"displayName": "cli000002", "endpoint": "", "msaAppType": "MultiTenant", "msaAppId":
"cab21c86-23fb-4883-b6bc-f8a849291794", "isCmekEnabled": false, "publicNetworkAccess":
"2e231d21-f38a-46bf-924e-9c32b41248d9", "isCmekEnabled": false, "publicNetworkAccess":
"Enabled", "isStreamingSupported": false}}'
headers:
Accept:
Expand All @@ -115,7 +115,7 @@ interactions:
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.BotService/botServices/cli000002?api-version=2021-05-01-preview
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.BotService/botServices/cli000002","name":"cli000002","type":"Microsoft.BotService/botServices","etag":"\"b800ab60-0000-1800-0000-62b180a00000\"","location":"global","sku":{"name":"F0"},"kind":"azurebot","tags":{},"properties":{"displayName":"cli000002","description":null,"iconUrl":"https://docs.botframework.com/static/devportal/client/images/bot-framework-default.png","endpoint":"","msaAppId":"cab21c86-23fb-4883-b6bc-f8a849291794","msaAppTenantId":null,"msaAppType":"MultiTenant","msaAppMSIResourceId":null,"developerAppInsightKey":null,"developerAppInsightsApplicationId":null,"luisAppIds":[],"endpointVersion":"3.0","configuredChannels":["webchat"],"enabledChannels":["webchat","directline"],"isDeveloperAppInsightsApiKeySet":false,"isStreamingSupported":false,"schemaTransformationVersion":"1.3","publishingCredentials":null,"parameters":null,"allSettings":null,"manifestUrl":null,"storageResourceId":null,"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","migrationToken":null,"isCmekEnabled":false,"cmekKeyVaultUrl":null,"openWithHint":null,"appPasswordHint":null,"publicNetworkAccess":"Enabled","disableLocalAuth":false,"cmekEncryptionStatus":"Off","provisioningState":"Succeeded"},"zones":[]}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.BotService/botServices/cli000002","name":"cli000002","type":"Microsoft.BotService/botServices","etag":"\"cf00d8cf-0000-1800-0000-62b2e2290000\"","location":"global","sku":{"name":"F0"},"kind":"azurebot","tags":{},"properties":{"displayName":"cli000002","description":null,"iconUrl":"https://docs.botframework.com/static/devportal/client/images/bot-framework-default.png","endpoint":"","msaAppId":"2e231d21-f38a-46bf-924e-9c32b41248d9","msaAppTenantId":null,"msaAppType":"MultiTenant","msaAppMSIResourceId":null,"developerAppInsightKey":null,"developerAppInsightsApplicationId":null,"luisAppIds":[],"endpointVersion":"3.0","configuredChannels":["webchat"],"enabledChannels":["webchat","directline"],"isDeveloperAppInsightsApiKeySet":false,"isStreamingSupported":false,"schemaTransformationVersion":"1.3","publishingCredentials":null,"parameters":null,"allSettings":null,"manifestUrl":null,"storageResourceId":null,"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","migrationToken":null,"isCmekEnabled":false,"cmekKeyVaultUrl":null,"openWithHint":null,"appPasswordHint":null,"publicNetworkAccess":"Enabled","disableLocalAuth":false,"cmekEncryptionStatus":"Off","provisioningState":"Succeeded"},"zones":[]}'
headers:
cache-control:
- no-cache
Expand All @@ -124,9 +124,9 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 21 Jun 2022 08:26:08 GMT
- Wed, 22 Jun 2022 09:34:34 GMT
etag:
- '"b800ab60-0000-1800-0000-62b180a00000"'
- '"cf00d8cf-0000-1800-0000-62b2e2290000"'
expires:
- '-1'
pragma:
Expand All @@ -136,7 +136,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1198'
- '1196'
status:
code: 201
message: Created
Expand Down
Loading