openai/openai-python
Publicmirrored fromhttps://github.com/openai/openai-pythonAvailable
tests/api_resources/beta/test_realtime.py
17lines · modecode
| 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. |
| 2 | |
| 3 | from __future__ import annotations |
| 4 | |
| 5 | import os |
| 6 | |
| 7 | import pytest |
| 8 | |
| 9 | base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010") |
| 10 | |
| 11 | |
| 12 | class TestRealtime: |
| 13 | parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) |
| 14 | |
| 15 | |
| 16 | class TestAsyncRealtime: |
| 17 | parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) |
| 18 | |