use formatting

This commit is contained in:
zaramzamzam 2024-11-12 21:07:01 +01:00
parent 21f42865ca
commit 7cae38f36c
No known key found for this signature in database

View File

@ -141,15 +141,18 @@ def test_session_handled_outside_not_closed() -> None:
mock_del.assert_called_once()
sp_session_mock.close.assert_not_called()
@pytest.mark.parametrize(
"set_env_vars",
[{
"temp_env_vars": {
"SNOWFLAKE_USERNAME": "user",
"SNOWFLAKE_ACCOUNT": "account",
"SNOWFLAKE_PASSWORD": "password",
[
{
"temp_env_vars": {
"SNOWFLAKE_USERNAME": "user",
"SNOWFLAKE_ACCOUNT": "account",
"SNOWFLAKE_PASSWORD": "password",
}
}
}],
],
indirect=["set_env_vars"],
)
def test_del_called_without_session_provided(set_env_vars: Any) -> None: