full-stack-fastapi-template
full-stack-fastapi-template copied to clipboard
✅ Fix incorrect mocking in unit tests (issue #1780)
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.
It seems we now have some conflicts here :thinking: :pensive:
This pull request has a merge conflict that needs to be resolved.