Python: [BREAKING] updated structure and samples (#875)

* updated structure and samples

* updated names and removed cross tests

* updated projects etc

* updated tests

* updated test

* test fixes

* removed devui for now

* updated all-tests task

* removed old style configs

* remove coverage from tests

* updated to unit tests with all-tests

* updated foundry everywhere

* fix azure ai tests

* fix merge tests

* fix mypy
This commit is contained in:
Eduard van Valkenburg
2025-09-25 09:02:53 +02:00
committed by GitHub
Unverified
parent 366a7f7d47
commit 9355329dfd
169 changed files with 1159 additions and 1761 deletions
@@ -8,6 +8,9 @@ from typing import Any
import pytest
from pytest import MonkeyPatch, mark, param
from samples.getting_started.chat_client.azure_ai_chat_client import (
main as azure_ai_chat_client,
)
from samples.getting_started.chat_client.azure_assistants_client import (
main as azure_assistants_client,
)
@@ -20,9 +23,6 @@ from samples.getting_started.chat_client.azure_responses_client import (
from samples.getting_started.chat_client.chat_response_cancellation import (
main as chat_response_cancellation,
)
from samples.getting_started.chat_client.foundry_chat_client import (
main as foundry_chat_client,
)
from samples.getting_started.chat_client.openai_assistants_client import (
main as openai_assistants_client,
)
@@ -67,13 +67,13 @@ chat_client_samples = [
pytest.mark.skipif(os.getenv(RUN_SAMPLES_TESTS, None) is None, reason="Not running sample tests."),
],
),
# Foundry Chat Client samples
# Azure AI Chat Client samples
param(
foundry_chat_client,
azure_ai_chat_client,
[], # Non-interactive sample
id="foundry_chat_client",
id="azure_ai_chat_client",
marks=[
pytest.mark.foundry,
pytest.mark.azure_ai,
pytest.mark.skipif(os.getenv(RUN_SAMPLES_TESTS, None) is None, reason="Not running sample tests."),
],
),