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.
1 parent a334a31 commit e6ac445Copy full SHA for e6ac445
tests/test_client.py
@@ -1963,7 +1963,7 @@ async def test_on_request_chunk_sent_async_hook():
1963
a.lease_id = '1'
1964
a.active_status = 'pending'
1965
a.reference_number = 'test'
1966
- with pytest.raises(ServerDisconnectedError):
+ with pytest.raises(ConnectionRefusedError):
1967
await a.commit()
1968
assert data_sent.called
1969
assert json.loads(data_sent.call_args[0][2].chunk) == {
0 commit comments