We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8b3b36 commit 4a12e57Copy full SHA for 4a12e57
1 file changed
tests/integration/synapseclient/models/async/test_storage_location_async.py
@@ -1,13 +1,20 @@
1
"""Integration tests for the synapseclient.models.StorageLocation class."""
2
3
+from __future__ import annotations
4
+
5
+import importlib
6
import os
7
import uuid
8
from typing import Callable
9
10
import boto3
11
import pytest
12
from botocore.exceptions import ClientError
-from google.cloud import storage as gcs_storage
13
14
+try:
15
+ gcs_storage = importlib.import_module("google.cloud.storage")
16
+except ImportError:
17
+ gcs_storage = None
18
19
from synapseclient import Synapse
20
from synapseclient.core import utils as syn_utils
0 commit comments