Skip to content

Commit 70dd282

Browse files
committed
split test into test_<module>_<feature>
1 parent 8c2e231 commit 70dd282

11 files changed

Lines changed: 1726 additions & 89 deletions

src/storage-discovery/azext_storage_discovery/tests/latest/recordings/test_storage_discovery_workspace_basic_operations.yaml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
interactions:
22
- request:
3-
body: '{"location": "eastus2", "properties": {"scopes": [{"displayName": "basic",
4-
"resourceTypes": ["Microsoft.Storage/storageAccounts"]}], "sku": "Standard",
3+
body: '{"location": "francecentral", "properties": {"scopes": [{"displayName":
4+
"basic", "resourceTypes": ["Microsoft.Storage/storageAccounts"]}], "sku": "Standard",
55
"workspaceRoots": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001"]}}'
66
headers:
77
Accept:
@@ -13,7 +13,7 @@ interactions:
1313
Connection:
1414
- keep-alive
1515
Content-Length:
16-
- '259'
16+
- '265'
1717
Content-Type:
1818
- application/json
1919
ParameterSetName:
@@ -24,22 +24,22 @@ interactions:
2424
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/sdworkspace000002?api-version=2025-06-01-preview
2525
response:
2626
body:
27-
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/sdworkspace000002","name":"sdworkspace000002","type":"microsoft.storagediscovery/storagediscoveryworkspaces","location":"eastus2","tags":{"team":"Discovery"},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2025-07-24T21:17:58.4629593Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2025-07-24T21:17:58.4629593Z"},"properties":{"sku":"Standard","workspaceRoots":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001"],"description":null,"scopes":[{"displayName":"basic","resourceTypes":["Microsoft.Storage/storageAccounts"],"tagKeysOnly":null,"tags":null}],"provisioningState":"Succeeded"}}'
27+
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/sdworkspace000002","name":"sdworkspace000002","type":"microsoft.storagediscovery/storagediscoveryworkspaces","location":"francecentral","tags":{"team":"Discovery"},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2025-07-24T22:14:39.2536939Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2025-07-24T22:14:39.2536939Z"},"properties":{"sku":"Standard","workspaceRoots":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001"],"description":null,"scopes":[{"displayName":"basic","resourceTypes":["Microsoft.Storage/storageAccounts"],"tagKeysOnly":null,"tags":null}],"provisioningState":"Succeeded"}}'
2828
headers:
2929
cache-control:
3030
- no-cache
3131
content-length:
32-
- '845'
32+
- '851'
3333
content-type:
3434
- application/json; charset=utf-8
3535
date:
36-
- Thu, 24 Jul 2025 21:17:59 GMT
36+
- Thu, 24 Jul 2025 22:14:41 GMT
3737
etag:
38-
- '"760050c5-0000-0200-0000-6882a3070000"'
38+
- '"3300935e-0000-0e00-0000-6882b0500000"'
3939
expires:
4040
- '-1'
4141
mise-correlation-id:
42-
- adde756f-f8e2-4d08-8a1a-4c5181739934
42+
- 9858e535-ac5a-4b83-8f59-3762dcd38419
4343
pragma:
4444
- no-cache
4545
strict-transport-security:
@@ -51,15 +51,15 @@ interactions:
5151
x-content-type-options:
5252
- nosniff
5353
x-ms-operation-identifier:
54-
- tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=2968a26f-a796-4124-8684-894f8a239db2/francecentral/09ccaf80-9622-4006-be16-ef807137e1af
54+
- tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=2968a26f-a796-4124-8684-894f8a239db2/westus2/3db9766a-c245-4e51-b71a-d647544fc572
5555
x-ms-providerhub-traffic:
5656
- 'True'
5757
x-ms-ratelimit-remaining-subscription-global-writes:
58-
- '11999'
58+
- '12000'
5959
x-ms-ratelimit-remaining-subscription-writes:
60-
- '799'
60+
- '800'
6161
x-msedge-ref:
62-
- 'Ref A: C854DF3996E14D61870CC086040E22BC Ref B: MWH011020808062 Ref C: 2025-07-24T21:17:56Z'
62+
- 'Ref A: 7B6AD229B3684856AF2A949B26BC6851 Ref B: CO6AA3150217017 Ref C: 2025-07-24T22:14:35Z'
6363
x-powered-by:
6464
- ASP.NET
6565
status:
@@ -84,18 +84,18 @@ interactions:
8484
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/sdworkspace000002?api-version=2025-06-01-preview
8585
response:
8686
body:
87-
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/sdworkspace000002","name":"sdworkspace000002","type":"microsoft.storagediscovery/storagediscoveryworkspaces","location":"eastus2","tags":{"team":"Discovery"},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2025-07-24T21:17:58.4629593Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2025-07-24T21:17:58.4629593Z"},"properties":{"sku":"Standard","workspaceRoots":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001"],"description":null,"scopes":[{"displayName":"basic","resourceTypes":["Microsoft.Storage/storageAccounts"],"tagKeysOnly":null,"tags":null}],"provisioningState":"Succeeded"}}'
87+
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/sdworkspace000002","name":"sdworkspace000002","type":"microsoft.storagediscovery/storagediscoveryworkspaces","location":"francecentral","tags":{"team":"Discovery"},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2025-07-24T22:14:39.2536939Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2025-07-24T22:14:39.2536939Z"},"properties":{"sku":"Standard","workspaceRoots":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001"],"description":null,"scopes":[{"displayName":"basic","resourceTypes":["Microsoft.Storage/storageAccounts"],"tagKeysOnly":null,"tags":null}],"provisioningState":"Succeeded"}}'
8888
headers:
8989
cache-control:
9090
- no-cache
9191
content-length:
92-
- '845'
92+
- '851'
9393
content-type:
9494
- application/json; charset=utf-8
9595
date:
96-
- Thu, 24 Jul 2025 21:17:59 GMT
96+
- Thu, 24 Jul 2025 22:14:41 GMT
9797
etag:
98-
- '"760050c5-0000-0200-0000-6882a3070000"'
98+
- '"3300935e-0000-0e00-0000-6882b0500000"'
9999
expires:
100100
- '-1'
101101
pragma:
@@ -111,7 +111,7 @@ interactions:
111111
x-ms-ratelimit-remaining-subscription-global-reads:
112112
- '16499'
113113
x-msedge-ref:
114-
- 'Ref A: F6E7430F324E4975A24C90FD6E5086F8 Ref B: CO6AA3150220021 Ref C: 2025-07-24T21:17:59Z'
114+
- 'Ref A: 375C73040750438DAE7B983500FF6AEA Ref B: MWH011020809062 Ref C: 2025-07-24T22:14:41Z'
115115
status:
116116
code: 200
117117
message: OK
@@ -134,18 +134,18 @@ interactions:
134134
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/sdworkspace000002?api-version=2025-06-01-preview
135135
response:
136136
body:
137-
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/sdworkspace000002","name":"sdworkspace000002","type":"microsoft.storagediscovery/storagediscoveryworkspaces","location":"eastus2","tags":{"team":"Discovery"},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2025-07-24T21:17:58.4629593Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2025-07-24T21:17:58.4629593Z"},"properties":{"sku":"Standard","workspaceRoots":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001"],"description":null,"scopes":[{"displayName":"basic","resourceTypes":["Microsoft.Storage/storageAccounts"],"tagKeysOnly":null,"tags":null}],"provisioningState":"Succeeded"}}'
137+
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/sdworkspace000002","name":"sdworkspace000002","type":"microsoft.storagediscovery/storagediscoveryworkspaces","location":"francecentral","tags":{"team":"Discovery"},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2025-07-24T22:14:39.2536939Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2025-07-24T22:14:39.2536939Z"},"properties":{"sku":"Standard","workspaceRoots":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001"],"description":null,"scopes":[{"displayName":"basic","resourceTypes":["Microsoft.Storage/storageAccounts"],"tagKeysOnly":null,"tags":null}],"provisioningState":"Succeeded"}}'
138138
headers:
139139
cache-control:
140140
- no-cache
141141
content-length:
142-
- '845'
142+
- '851'
143143
content-type:
144144
- application/json; charset=utf-8
145145
date:
146-
- Thu, 24 Jul 2025 21:17:59 GMT
146+
- Thu, 24 Jul 2025 22:14:42 GMT
147147
etag:
148-
- '"760050c5-0000-0200-0000-6882a3070000"'
148+
- '"3300935e-0000-0e00-0000-6882b0500000"'
149149
expires:
150150
- '-1'
151151
pragma:
@@ -161,13 +161,13 @@ interactions:
161161
x-ms-ratelimit-remaining-subscription-global-reads:
162162
- '16499'
163163
x-msedge-ref:
164-
- 'Ref A: B5112EA40BDA46D599C693382A064FF5 Ref B: CO6AA3150217017 Ref C: 2025-07-24T21:18:00Z'
164+
- 'Ref A: 1D86B07E7B144DBD8CD53EFF36631ECD Ref B: MWH011020807034 Ref C: 2025-07-24T22:14:41Z'
165165
status:
166166
code: 200
167167
message: OK
168168
- request:
169-
body: '{"location": "eastus2", "properties": {"scopes": [{"displayName": "basic",
170-
"resourceTypes": ["Microsoft.Storage/storageAccounts"]}], "sku": "Standard",
169+
body: '{"location": "francecentral", "properties": {"scopes": [{"displayName":
170+
"basic", "resourceTypes": ["Microsoft.Storage/storageAccounts"]}], "sku": "Standard",
171171
"workspaceRoots": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001"]},
172172
"tags": {"team": "Discovery", "environment": "test", "purpose": "demo"}}'
173173
headers:
@@ -180,7 +180,7 @@ interactions:
180180
Connection:
181181
- keep-alive
182182
Content-Length:
183-
- '332'
183+
- '338'
184184
Content-Type:
185185
- application/json
186186
ParameterSetName:
@@ -191,22 +191,22 @@ interactions:
191191
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/sdworkspace000002?api-version=2025-06-01-preview
192192
response:
193193
body:
194-
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/sdworkspace000002","name":"sdworkspace000002","type":"microsoft.storagediscovery/storagediscoveryworkspaces","location":"eastus2","tags":{"team":"Discovery","environment":"test","purpose":"demo"},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2025-07-24T21:17:58.4629593Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2025-07-24T21:18:00.3191058Z"},"properties":{"sku":"Standard","workspaceRoots":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001"],"description":null,"scopes":[{"displayName":"basic","resourceTypes":["Microsoft.Storage/storageAccounts"],"tagKeysOnly":null,"tags":null}],"provisioningState":"Succeeded"}}'
194+
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/sdworkspace000002","name":"sdworkspace000002","type":"microsoft.storagediscovery/storagediscoveryworkspaces","location":"francecentral","tags":{"team":"Discovery","environment":"test","purpose":"demo"},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2025-07-24T22:14:39.2536939Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2025-07-24T22:14:44.4601711Z"},"properties":{"sku":"Standard","workspaceRoots":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001"],"description":null,"scopes":[{"displayName":"basic","resourceTypes":["Microsoft.Storage/storageAccounts"],"tagKeysOnly":null,"tags":null}],"provisioningState":"Succeeded"}}'
195195
headers:
196196
cache-control:
197197
- no-cache
198198
content-length:
199-
- '883'
199+
- '889'
200200
content-type:
201201
- application/json; charset=utf-8
202202
date:
203-
- Thu, 24 Jul 2025 21:18:00 GMT
203+
- Thu, 24 Jul 2025 22:14:45 GMT
204204
etag:
205-
- '"760054c5-0000-0200-0000-6882a3080000"'
205+
- '"3300b95e-0000-0e00-0000-6882b0540000"'
206206
expires:
207207
- '-1'
208208
mise-correlation-id:
209-
- 1b1690c5-7c24-4c92-8fa9-2bfefbc27a69
209+
- 9825add9-4547-4ef3-b0fa-fdf26ac4cce4
210210
pragma:
211211
- no-cache
212212
strict-transport-security:
@@ -218,15 +218,15 @@ interactions:
218218
x-content-type-options:
219219
- nosniff
220220
x-ms-operation-identifier:
221-
- tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=2968a26f-a796-4124-8684-894f8a239db2/eastus2/b5631529-fe40-4673-ad4e-4a319042478b
221+
- tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=2968a26f-a796-4124-8684-894f8a239db2/southcentralus/eb0deb71-07ae-43c1-bab7-c30f9213e1eb
222222
x-ms-providerhub-traffic:
223223
- 'True'
224224
x-ms-ratelimit-remaining-subscription-global-writes:
225225
- '11999'
226226
x-ms-ratelimit-remaining-subscription-writes:
227227
- '799'
228228
x-msedge-ref:
229-
- 'Ref A: 31540AE5E70C4EFBBBC6D0B26E558575 Ref B: CO6AA3150217045 Ref C: 2025-07-24T21:18:00Z'
229+
- 'Ref A: E0AE81407E1A49DDBD3C003FC57111E5 Ref B: MWH011020806054 Ref C: 2025-07-24T22:14:42Z'
230230
x-powered-by:
231231
- ASP.NET
232232
status:
@@ -260,11 +260,11 @@ interactions:
260260
content-length:
261261
- '0'
262262
date:
263-
- Thu, 24 Jul 2025 21:18:01 GMT
263+
- Thu, 24 Jul 2025 22:14:48 GMT
264264
expires:
265265
- '-1'
266266
mise-correlation-id:
267-
- 35a5aff1-451d-41f0-9d3c-e969b2ec5f61
267+
- b0e151d1-254e-40ac-b3db-06e04a787a81
268268
pragma:
269269
- no-cache
270270
strict-transport-security:
@@ -274,15 +274,15 @@ interactions:
274274
x-content-type-options:
275275
- nosniff
276276
x-ms-operation-identifier:
277-
- tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=2968a26f-a796-4124-8684-894f8a239db2/eastus2/910433b8-5595-4799-935b-c4d7d1aa1885
277+
- tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=2968a26f-a796-4124-8684-894f8a239db2/eastus/f3d89981-b22f-4a0c-96e8-c0a239e6b34b
278278
x-ms-providerhub-traffic:
279279
- 'True'
280280
x-ms-ratelimit-remaining-subscription-deletes:
281281
- '799'
282282
x-ms-ratelimit-remaining-subscription-global-deletes:
283283
- '11999'
284284
x-msedge-ref:
285-
- 'Ref A: B52DC749D3B04777871C205D5B1DD4C7 Ref B: CO6AA3150220023 Ref C: 2025-07-24T21:18:00Z'
285+
- 'Ref A: 9FCFD30302A34336B43A9398B884967D Ref B: MWH011020808060 Ref C: 2025-07-24T22:14:46Z'
286286
x-powered-by:
287287
- ASP.NET
288288
status:

0 commit comments

Comments
 (0)