Skip to content

Commit

Permalink
コメントを残す
Browse files Browse the repository at this point in the history
  • Loading branch information
voluntas committed Aug 1, 2024
1 parent db39d90 commit 395a658
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 11 additions & 0 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 のテストが動作しない
8 changes: 4 additions & 4 deletions tests/test_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 395a658

Please sign in to comment.