mirror of https://gitlab.com/litecord/litecord.git
tests: don't double-close on test_broken_identify
This commit is contained in:
parent
049523b03f
commit
4a70d9580d
|
|
@ -333,8 +333,6 @@ async def test_broken_identify(test_cli_user):
|
||||||
raise AssertionError("Received a JSON message but expected close")
|
raise AssertionError("Received a JSON message but expected close")
|
||||||
except websockets.ConnectionClosed as exc:
|
except websockets.ConnectionClosed as exc:
|
||||||
assert exc.code == 4002
|
assert exc.code == 4002
|
||||||
finally:
|
|
||||||
await _close(conn)
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.asyncio
|
@pytest.mark.asyncio
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue