Skip to content

Commit cb3aef1

Browse files
committed
Fix test
1 parent 94c91e5 commit cb3aef1

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

tests/core/test_connection_config.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,10 @@ def test_engine_import_validator():
10161016
with pytest.raises(
10171017
ConfigError,
10181018
match=re.escape(
1019-
"""Failed to import the 'bigquery' engine library. Please run `pip install "sqlmesh[bigquery]"`."""
1019+
"Failed to import the 'bigquery' engine library. This may be due to a missing "
1020+
"or incompatible installation. Please ensure the required dependency is installed by "
1021+
'running: pip install "sqlmesh[bigquery]". For more details, check the logs '
1022+
"in the 'logs/' folder, or rerun the command with the '--debug' flag."
10201023
),
10211024
):
10221025

@@ -1028,7 +1031,10 @@ class TestConfigA(PydanticModel):
10281031
with pytest.raises(
10291032
ConfigError,
10301033
match=re.escape(
1031-
"""Failed to import the 'bigquery' engine library. Please run `pip install "sqlmesh[bigquery_extra]"`."""
1034+
"Failed to import the 'bigquery' engine library. This may be due to a missing "
1035+
"or incompatible installation. Please ensure the required dependency is installed by "
1036+
'running: pip install "sqlmesh[bigquery_extra]". For more details, check the logs '
1037+
"in the 'logs/' folder, or rerun the command with the '--debug' flag."
10321038
),
10331039
):
10341040

0 commit comments

Comments
 (0)