Skip to content

Commit 20f4309

Browse files
committed
test: removes unneeded line and applies linting
1 parent 0c622d7 commit 20f4309

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/google-cloud-storage/tests/unit/test_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,10 +383,10 @@ def test_ctor_w_custom_endpoint_w_credentials(self):
383383
PROJECT = "PROJECT"
384384
custom_endpoint = "storage-example.p.googleapis.com"
385385
credentials = _make_credentials(project=PROJECT)
386-
with mock.patch("os.environ", {}):
387386
with mock.patch.dict("os.environ", {}, clear=True):
388387
client = self._make_one(
389-
credentials=credentials, client_options={"api_endpoint": custom_endpoint}
388+
credentials=credentials,
389+
client_options={"api_endpoint": custom_endpoint},
390390
)
391391
self.assertEqual(client._connection.API_BASE_URL, custom_endpoint)
392392
self.assertEqual(client.project, PROJECT)

0 commit comments

Comments
 (0)