Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
roznawsk committed Feb 6, 2024
1 parent 4d101e6 commit dd22884
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion poetry_scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ def generate_docs():
def update_client():
check_exit_code(
"openapi-python-client update\
--url https://raw.githubusercontent.com/jellyfish-dev/jellyfish/RTC-435-rest-track-metadata/openapi.yaml \
--url https://raw.githubusercontent.com/jellyfish-dev/"
"jellyfish/main/openapi.yaml \
--config openapi-python-client-config.yaml \
--custom-template-path=openapi_templates"
)
3 changes: 2 additions & 1 deletion tests/test_notifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
ServerMessageRoomCreated,
ServerMessageRoomDeleted,
ServerMessageTrackAdded,
ServerMessageTrackRemoved
ServerMessageTrackRemoved,
)
from tests.support.asyncio_utils import assert_events, assert_metrics, cancel
from tests.support.peer_socket import PeerSocket
Expand All @@ -33,6 +33,7 @@
CODEC_H264 = "h264"
FILE_OPTIONS = ComponentOptionsFile(file_path="video.h264")


@pytest.fixture(scope="session", autouse=True)
def start_server():
flask_process = Process(target=run_server, args=(queue,))
Expand Down
6 changes: 4 additions & 2 deletions tests/test_room_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@
)

FILE_OPTIONS = ComponentOptionsFile(file_path="video.h264")
FILE_PROPERTIES = ComponentPropertiesFile(file_path=FILE_OPTIONS.file_path, framerate=30)
FILE_PROPERTIES = ComponentPropertiesFile(
file_path=FILE_OPTIONS.file_path, framerate=30
)


class TestAuthentication:
Expand Down Expand Up @@ -301,7 +303,7 @@ def _assert_peer_created(self, room_api, webrtc_peer, room_id):
type="webrtc",
status=PeerStatus("disconnected"),
tracks=[],
metadata=None
metadata=None,
)

room = room_api.get_room(room_id)
Expand Down

0 comments on commit dd22884

Please sign in to comment.