Skip to content

Commit

Permalink
tests: fix order for env var patches
Browse files Browse the repository at this point in the history
  • Loading branch information
larkee committed Apr 15, 2021
1 parent e17ff96 commit 79ccb4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_client.py
Expand Up @@ -190,10 +190,10 @@ def test_constructor_custom_query_options_client_config(self):
expected_query_options=expected_query_options,
)

@mock.patch("google.cloud.spanner_v1.client._get_spanner_optimizer_version")
@mock.patch(
"google.cloud.spanner_v1.client._get_spanner_optimizer_statistics_package"
)
@mock.patch("google.cloud.spanner_v1.client._get_spanner_optimizer_version")
def test_constructor_custom_query_options_env_config(self, mock_ver, mock_stats):
from google.cloud.spanner_v1 import ExecuteSqlRequest
from google.cloud.spanner_v1 import client as MUT
Expand Down

0 comments on commit 79ccb4a

Please sign in to comment.