Skip to content

Commit

Permalink
転けるテスト追加
Browse files Browse the repository at this point in the history
  • Loading branch information
voluntas committed Oct 3, 2024
1 parent 69f8605 commit f8a5cad
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_disconnect.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ def test_disconnect_api(setup):
response = disconnect_connection_api(api_url, channel_id, conn.connection_id)
assert response.status_code == 200

assert conn.ws_close_code is not None
assert conn.ws_close_reason is not None
assert conn.ws_close_code == 1000
assert conn.ws_close_reason == "DISCONNECTED-API"

# TODO: LIFETIME-EXPIRED のテスト


def test_sendonly_disconnect(setup):
Expand Down

0 comments on commit f8a5cad

Please # to comment.