There was an error while loading. Please reload this page.
1 parent 3ab3420 commit 2e30293Copy full SHA for 2e30293
1 file changed
tests/test_client.py
@@ -28,13 +28,7 @@ def _assert_is_disconnected(client: BaseApiClient[StubT]) -> None:
28
"""Assert that the client is disconnected."""
29
assert not client.is_connected
30
31
- with pytest.raises(ClientNotConnected, match=r"") as exc_info:
32
- _ = client.channel
33
- exc = exc_info.value
34
- assert exc.server_url == _DEFAULT_SERVER_URL
35
- assert exc.operation == "channel"
36
-
37
+ with pytest.raises(ClientNotConnected) as exc_info:
38
_ = client.channel
39
exc = exc_info.value
40
assert exc.server_url == _DEFAULT_SERVER_URL
0 commit comments