Skip to content

Mock the connection #509

Open
kneth wants to merge 1 commit into
mainfrom
kneth/mock-connection
Open

Mock the connection #509
kneth wants to merge 1 commit into
mainfrom
kneth/mock-connection

Conversation

@kneth

@kneth kneth commented Jul 7, 2026

Copy link
Copy Markdown
Member

Summary of the changes / Why this is an improvement

Mock the connection instead of the cursor to avoid trying to connect to non-existing server

Checklist

@kneth kneth self-assigned this Jul 7, 2026
@kneth
kneth marked this pull request as ready for review July 8, 2026 11:36
@kneth
kneth requested review from bgunebakan and mfussenegger July 8, 2026 11:36

@mfussenegger mfussenegger left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect this is to fix #508 ?

Would be nice of the commit message mentioned that. E.g "Fix commands tests" with a body that mentions that the tests tried to connect to a server. That it replaces one mock with another to fix that is imho secondary.

Comment thread DEVELOP.rst Outdated
@kneth
kneth force-pushed the kneth/mock-connection branch from 0d6b54c to 58397fb Compare July 14, 2026 15:15
The tests tried to connect to a non-existing server, and tests will
subsequently fail.
@kneth
kneth force-pushed the kneth/mock-connection branch from 58397fb to 0f2428e Compare July 14, 2026 15:17

@bgunebakan bgunebakan left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nightly tests are failing with connection error

3 participants