diff --git a/tests/unit/test_client.py b/tests/unit/test_client.py index 81bb207d5d1..d33d9cc08a8 100644 --- a/tests/unit/test_client.py +++ b/tests/unit/test_client.py @@ -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