diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index cbd97f0a..dc49e4a3 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -48,6 +48,7 @@ jobs: strategy: matrix: python_version: ["3.10", "3.11", "3.12"] + # macos-13 は test_macos.py が上手くテストが動かないのでスキップ os: ["macos-14"] runs-on: ${{ matrix.os }} timeout-minutes: 20 diff --git a/tests/README.md b/tests/README.md index 8bb1f2e0..e9095c3f 100644 --- a/tests/README.md +++ b/tests/README.md @@ -21,3 +21,14 @@ rye sync rye run python run.py rye run pytest -m tests/test_messaging.py -s ``` + +## 課題 + +### macOS + +- macos-13 で Video Toolbox の H.264/H.265 のテストが動作しない + +### Windows + +- 日本語を print する文があると pytest が動作しない +- OpenH264 のテストが動作しない diff --git a/tests/test_stats.py b/tests/test_stats.py index 3c3bff2c..4d42946a 100644 --- a/tests/test_stats.py +++ b/tests/test_stats.py @@ -12,12 +12,12 @@ def test_get_stats(setup): channel_id = f"{channel_id_prefix}_{__name__}_{sys._getframe().f_code.co_name}_{uuid.uuid4()}" - client = Sendonly(signaling_urls, channel_id, metadata) - client.connect() + sendonly = Sendonly(signaling_urls, channel_id, metadata) + sendonly.connect() time.sleep(5) - stats = client.get_stats() + stats = sendonly.get_stats() assert len(stats) > 0 - client.disconnect() + sendonly.disconnect()