PrevPrevious commit
Next Next commit
add tests for BigQueryOptions.application_name
  • Loading branch information
@tswast
tswast committedOct 17, 2023
commit 95948caa3542b66d65b896feea2b815ff23ffb99
Original file line numberDiff line numberDiff line change
Expand Up@@ -22,6 +22,7 @@
@pytest.mark.parametrize(
["attribute", "original_value", "new_value"],
[
("application_name", None, "test-partner"),
# For credentials, the match is by reference.
("credentials", object(), object()),
("location", "us-east1", "us-central1"),
Expand DownExpand Up@@ -53,6 +54,7 @@ def test_setter_raises_if_session_started(attribute, original_value, new_value):
[
(attribute,)
for attribute in [
"application_name",
"credentials",
"location",
"project",
Expand Down