Skip to content

Comments

fix: client mocks#1039

Open
d-perl wants to merge 2 commits intopre_release_v3from
fix/client_mock_hacks
Open

fix: client mocks#1039
d-perl wants to merge 2 commits intopre_release_v3from
fix/client_mock_hacks

Conversation

@d-perl
Copy link
Contributor

@d-perl d-perl commented Jan 29, 2026

Refactor of the client mocks for better organisation, correctness, and maybe performance

  • makes a real mock client, not a real real client which is then pasted over with mocks
  • reuses a global fakeredis instance for everything

This is a foundation for further improvements on the test suite by possibly introducting a global reusable client (which will improve performance but we will need to watch out for state leaking), getting rid of individual fakeredis instantiations, etc.

@d-perl d-perl changed the base branch from main to pre_release_v3 January 29, 2026 14:18
@d-perl d-perl force-pushed the fix/client_mock_hacks branch 9 times, most recently from b837c12 to e1fcb74 Compare January 30, 2026 09:47
@codecov
Copy link

codecov bot commented Jan 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@d-perl d-perl changed the title WIP fix: client mocks fix: client mocks Jan 30, 2026
@d-perl d-perl force-pushed the fix/client_mock_hacks branch from e1fcb74 to 3f1dcf8 Compare January 30, 2026 10:11
@d-perl d-perl requested review from wakonig and wyzula-jan January 30, 2026 11:55
@d-perl d-perl force-pushed the fix/client_mock_hacks branch 3 times, most recently from a3794a2 to 5ea90f8 Compare February 5, 2026 12:35
@d-perl d-perl force-pushed the fix/client_mock_hacks branch from 0b6b49b to f2d40f1 Compare February 23, 2026 08:25
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.

1 participant