We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 73301db + 2e30293 commit 6937997Copy full SHA for 6937997
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