Skip to content

Commit b943b28

Browse files
Wangamber/llmspeechtest (#44165)
* fix multipartform * fix pylint * update patch * add test * update test.yml to run in playback mode * redo recording * Fix: Ignore authentication headers in playback matcher * remove unused imports and update change log * add explicit fixture definitions in conftest
1 parent 97f8e57 commit b943b28

26 files changed

+910
-157
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Python
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
*.so
6+
.Python
7+
*.egg-info/
8+
dist/
9+
build/
10+
11+
# Test
12+
.pytest_cache/
13+
.coverage
14+
htmlcov/
15+
.tox/
16+
17+
# Environment variables (contains secrets)
18+
.env
19+
20+
# IDE
21+
.vscode/
22+
.idea/
23+
*.swp
24+
*.swo
25+
*~
26+
27+
# Test recordings (managed by assets.json)
28+
tests/recordings/

sdk/cognitiveservices/azure-ai-transcription/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Release History
22

3-
## 1.0.0b1 (2025-11-10)
3+
## 1.0.0b1 (2025-12-03)
44

55
### Other Changes
66

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"AssetsRepo": "Azure/azure-sdk-assets",
3+
"AssetsRepoPrefixPath": "python",
4+
"TagPrefix": "python/cognitiveservices/azure-ai-transcription",
5+
"Tag": "python/cognitiveservices/azure-ai-transcription_5f9f60e291"
6+
}

sdk/cognitiveservices/azure-ai-transcription/generated_tests/conftest.py

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

sdk/cognitiveservices/azure-ai-transcription/generated_tests/test_transcription.py

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

sdk/cognitiveservices/azure-ai-transcription/generated_tests/test_transcription_async.py

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

sdk/cognitiveservices/azure-ai-transcription/generated_tests/testpreparer.py

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

sdk/cognitiveservices/azure-ai-transcription/generated_tests/testpreparer_async.py

Lines changed: 0 additions & 20 deletions
This file was deleted.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Azure AI Transcription Test Environment Variables
2+
# Copy this file to .env and fill in your actual values
3+
4+
# Azure Cognitive Services endpoint (required for live tests)
5+
TRANSCRIPTION_ENDPOINT=https://your-resource.cognitiveservices.azure.com
6+
7+
# API key for authentication (required for live tests)
8+
TRANSCRIPTION_API_KEY=your-api-key-here
9+
10+
# Public URL to test audio file (default provided)
11+
TRANSCRIPTION_TEST_AUDIO_URL=https://example.com/path/to/your/audio.wav
12+
13+
# Optional: Azure subscription ID
14+
# TRANSCRIPTION_SUBSCRIPTION_ID=your-subscription-id
15+
16+
# Optional: Azure tenant ID
17+
# TRANSCRIPTION_TENANT_ID=your-tenant-id
18+
19+
# Optional: Azure client ID (for service principal authentication)
20+
# TRANSCRIPTION_CLIENT_ID=your-client-id
21+
22+
# Optional: Azure client secret (for service principal authentication)
23+
# TRANSCRIPTION_CLIENT_SECRET=your-client-secret
Binary file not shown.

0 commit comments

Comments
 (0)