full-stack-fastapi-template icon indicating copy to clipboard operation
full-stack-fastapi-template copied to clipboard

✅ Fix incorrect mocking in unit tests (issue #1780)

Open vicaya opened this issue 5 months ago • 2 comments

Fix issue #1780: the 2 test_init_successful_connection tests were basically noops due to misuse of MagicMock.

The errors went undetected until python 3.12+ tightened up the MagicMock implementation.

vicaya avatar Aug 20 '25 06:08 vicaya

It seems we now have some conflicts here :thinking: :pensive:

tiangolo avatar Sep 20 '25 16:09 tiangolo

This pull request has a merge conflict that needs to be resolved.

github-actions[bot] avatar Sep 20 '25 16:09 github-actions[bot]