Skip to content

Commit 15bb190

Browse files
committed
test(bigquery-magics): make table_id parsing check version-agnostic
1 parent 0358f4f commit 15bb190

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

packages/bigquery-magics/tests/unit/bigquery/test_bigquery.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2974,10 +2974,7 @@ def test_bigquery_magic_query_variable_not_identifier():
29742974
# considered a table name, thus we expect an error that the table ID is not valid.
29752975
output = captured_io.stderr
29762976
assert "ERROR:" in output
2977-
assert (
2978-
"must be a fully-qualified ID" in output
2979-
or "Could not parse table_id." in output
2980-
)
2977+
assert "table_id" in output
29812978

29822979

29832980
@pytest.mark.usefixtures("mock_credentials")

0 commit comments

Comments
 (0)