Skip to content

Commit

Permalink
codec_type はテスト通す
Browse files Browse the repository at this point in the history
  • Loading branch information
voluntas committed Nov 10, 2024
1 parent 946d81b commit d94f974
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/test_authz.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from client import SoraClient, SoraRole


@pytest.mark.skipif(reason="TODO: バグ")
@pytest.mark.parametrize(
"video_codec_params",
[
Expand All @@ -29,7 +28,6 @@ def test_sendonly_authz_video_codec_type(setup, video_codec_params):
access_token = jwt.encode(
{
"channel_id": channel_id,
"audio": False,
"video": True,
"video_codec_type": video_codec_type,
},
Expand All @@ -42,10 +40,8 @@ def test_sendonly_authz_video_codec_type(setup, video_codec_params):
signaling_urls,
SoraRole.SENDONLY,
channel_id,
# audio True だけど、authz で audio False になる
audio=True,
# video False だけど、authz で video True になる
video=False,
audio=False,
video=True,
metadata=metadata,
)
sendonly.connect(fake_video=True)
Expand Down

0 comments on commit d94f974

Please sign in to comment.