Skip to content

Commit b33be7f

Browse files
authored
Update subdir test (#3165)
1 parent 5113481 commit b33be7f

98 files changed

Lines changed: 1299 additions & 993 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
changeKind: internal
3+
packages:
4+
- "@azure-tools/typespec-python"
5+
---
6+
7+
Update tests

packages/typespec-python/scripts/eng/regenerate.ts

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ interface TspCommand {
2121

2222
// Add this near the top with other constants
2323
const SKIP_SPECS = [
24-
"type/union/discriminated",
25-
"client-operation-group",
26-
"azure/client-generator-core/api-version",
27-
"azure/client-generator-core/hierarchy-building",
24+
"type/union/discriminated",
25+
"client-operation-group",
26+
"azure/client-generator-core/api-version",
27+
"azure/client-generator-core/hierarchy-building",
2828
];
2929

3030
const AZURE_EMITTER_OPTIONS: Record<string, Record<string, string> | Record<string, string>[]> = {
@@ -139,14 +139,6 @@ const EMITTER_OPTIONS: Record<string, Record<string, string> | Record<string, st
139139
"package-mode": "azure-dataplane",
140140
"package-pprint-name": "ResiliencySrvDriven2",
141141
},
142-
"authentication/api-key": [
143-
{},
144-
{
145-
"package-name": "authentication-api-key-subdir",
146-
"generation-subdir": "_generated/",
147-
"namespace": "authentication.api.key.subdir",
148-
},
149-
],
150142
"authentication/http/custom": {
151143
"package-name": "authentication-http-custom",
152144
"namespace": "authentication.http.custom",
@@ -199,10 +191,17 @@ const EMITTER_OPTIONS: Record<string, Record<string, string> | Record<string, st
199191
"package-name": "typetest-model-singlediscriminator",
200192
"namespace": "typetest.model.singlediscriminator",
201193
},
202-
"type/model/inheritance/recursive": {
203-
"package-name": "typetest-model-recursive",
204-
"namespace": "typetest.model.recursive",
205-
},
194+
"type/model/inheritance/recursive": [
195+
{
196+
"package-name": "typetest-model-recursive",
197+
"namespace": "typetest.model.recursive",
198+
},
199+
{
200+
"package-name": "generation-subdir",
201+
"namespace": "generation.subdir",
202+
"generation-subdir": "_generated",
203+
},
204+
],
206205
"type/model/usage": {
207206
"package-name": "typetest-model-usage",
208207
"namespace": "typetest.model.usage",

packages/typespec-python/test/azure/generated/authentication-api-key-subdir/MANIFEST.in

Lines changed: 0 additions & 8 deletions
This file was deleted.

packages/typespec-python/test/azure/generated/authentication-api-key-subdir/authentication/api/key/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/typespec-python/test/azure/generated/authentication-api-key-subdir/authentication/api/key/subdir/_client.py

Lines changed: 0 additions & 39 deletions
This file was deleted.

packages/typespec-python/test/azure/generated/authentication-api-key-subdir/authentication/api/key/subdir/_generated/_operations/_operations.py

Lines changed: 0 additions & 144 deletions
This file was deleted.

packages/typespec-python/test/azure/generated/authentication-api-key-subdir/authentication/api/key/subdir/_generated/aio/_operations/_operations.py

Lines changed: 0 additions & 128 deletions
This file was deleted.

packages/typespec-python/test/azure/generated/authentication-api-key-subdir/authentication/api/key/subdir/_generated/apiview-properties.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)