Skip to content

Commit 7d54e86

Browse files
committed
Cleanup / lint
1 parent e555aed commit 7d54e86

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

client/datalake/tests/conftest.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@
2121
try:
2222
from moto import mock_aws
2323
except ImportError:
24-
from moto import mock_s3 as mock_aws # ugh
24+
# Ugh. This is necessary because the client tests rely on a later version
25+
# of moto than the ingester and api tests. And that newer version changed
26+
# the object mock_s3 -> mock_aws.
27+
from moto import mock_s3 as mock_aws
2528
except ImportError:
2629
pass
2730

2831
try:
29-
# from moto import mock_aws
3032
import boto3
3133
from six.moves.urllib.parse import urlparse
3234
import json

0 commit comments

Comments
 (0)