Revert "adjust test strings for incrementing connection IDs"
This reverts commit ccebbd6ebb.
This commit is contained in:
parent
b41cc1d0fc
commit
63b5708bae
|
|
@ -404,7 +404,7 @@ class TestOnError:
|
|||
socket.setErrorString("Connection refused.")
|
||||
|
||||
with pytest.raises(ipc.Error, match=r"Error while handling IPC "
|
||||
r"connection [0-9]: Connection refused \(ConnectionRefusedError\)"):
|
||||
r"connection: Connection refused \(ConnectionRefusedError\)"):
|
||||
ipc_server.on_error(QLocalSocket.LocalSocketError.ConnectionRefusedError)
|
||||
|
||||
|
||||
|
|
@ -439,7 +439,7 @@ class TestHandleConnection:
|
|||
ipc_server._server = FakeServer(socket)
|
||||
|
||||
with pytest.raises(ipc.Error, match=r"Error while handling IPC "
|
||||
r"connection [0-9]: Error string \(ConnectionError\)"):
|
||||
r"connection: Error string \(ConnectionError\)"):
|
||||
ipc_server.handle_connection()
|
||||
|
||||
assert "We got an error immediately." in caplog.messages
|
||||
|
|
|
|||
Loading…
Reference in New Issue