Skip to content

Commit e6ac445

Browse files
author
Antti Nykänen
committed
Fix for failing test
1 parent a334a31 commit e6ac445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1963,7 +1963,7 @@ async def test_on_request_chunk_sent_async_hook():
19631963
a.lease_id = '1'
19641964
a.active_status = 'pending'
19651965
a.reference_number = 'test'
1966-
with pytest.raises(ServerDisconnectedError):
1966+
with pytest.raises(ConnectionRefusedError):
19671967
await a.commit()
19681968
assert data_sent.called
19691969
assert json.loads(data_sent.call_args[0][2].chunk) == {

0 commit comments

Comments
 (0)