Skip to content

Commit

Permalink
[DEBUG]: Temp commit to get traceback in gh tests run
Browse files Browse the repository at this point in the history
  • Loading branch information
paradoxxxzero committed Nov 6, 2024
1 parent 3252269 commit 5e260a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fastapi/tests/test_fastapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def _mocked_commit(self):
with unittest.mock.patch.object(
sql_db.TestCursor, "commit", return_value=None
) as mocked_commit:
mocked_commit.side_effect = Exception("Commit should not be called")
yield mocked_commit

def _assert_expected_lang(self, accept_language, expected_lang):
Expand Down

0 comments on commit 5e260a1

Please sign in to comment.