# TypeSpec Python Generated Tests

This folder contains the generated Python SDK test code produced by
`@typespec/http-client-python` against the [http-specs](https://github.com/microsoft/typespec/tree/main/packages/http-specs)
and [azure-http-specs](https://github.com/Azure/typespec-azure/tree/main/packages/azure-http-specs) test suites.

## Structure

```
azure/       # Generated from azure-http-specs (branded/Azure flavor)
unbranded/   # Generated from http-specs (unbranded flavor)
```

## Regeneration

These files are automatically regenerated by the
[`typespec-python-regenerate.yml`](https://github.com/Azure/azure-sdk-for-python/blob/main/.github/workflows/typespec-python-regenerate.yml) workflow.

To regenerate manually, trigger the workflow via GitHub Actions or run locally:

```bash
# From the microsoft/typespec repo (packages/http-client-python):
npm install --ignore-scripts
npm run build
npm run install
npm run prepare
npm run regenerate

# Then copy tests/generated/{azure,unbranded} to this folder
```
