🎨 Format Python scripts tests (#2112)
This commit is contained in:
committed by
GitHub
parent
de9661fc4f
commit
12b2a95a58
@@ -26,8 +26,8 @@ def test_init_successful_connection() -> None:
|
||||
except Exception:
|
||||
connection_successful = False
|
||||
|
||||
assert (
|
||||
connection_successful
|
||||
), "The database connection should be successful and not raise an exception."
|
||||
assert connection_successful, (
|
||||
"The database connection should be successful and not raise an exception."
|
||||
)
|
||||
|
||||
session_mock.exec.assert_called_once_with(select1)
|
||||
|
||||
Reference in New Issue
Block a user