mirror of
https://github.com/hwchase17/langchain
synced 2024-11-13 19:10:52 +00:00
use formatting
This commit is contained in:
parent
21f42865ca
commit
7cae38f36c
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user