File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ def test_init_successful_connection() -> None:
2626 except Exception :
2727 connection_successful = False
2828
29- assert (
30- connection_successful
31- ), "The database connection should be successful and not raise an exception."
29+ assert connection_successful , (
30+ "The database connection should be successful and not raise an exception."
31+ )
3232
3333 session_mock .exec .assert_called_once_with (select1 )
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ def test_init_successful_connection() -> None:
2626 except Exception :
2727 connection_successful = False
2828
29- assert (
30- connection_successful
31- ), "The database connection should be successful and not raise an exception."
29+ assert connection_successful , (
30+ "The database connection should be successful and not raise an exception."
31+ )
3232
3333 session_mock .exec .assert_called_once_with (select1 )
You can’t perform that action at this time.
0 commit comments