Skip to content

Commit 01b5b31

Browse files
authored
buckification
Differential Revision: D57881544 Pull Request resolved: #918
1 parent f4215ba commit 01b5b31

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

dev-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ hydra-core
1515
ipython
1616
kfp==1.8.22
1717
mlflow-skinny
18-
moto==4.2.14
18+
moto~=5.0.8
1919
pyre-extensions
2020
pyre-check
2121
pytest

scripts/component_integration_tests.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -174,13 +174,9 @@ def _mock_aws_batch() -> None:
174174
ensure_network()
175175
os.environ.setdefault("MOTO_DOCKER_NETWORK_NAME", NETWORK)
176176

177-
from moto import mock_batch, mock_ec2, mock_ecs, mock_iam, mock_logs
177+
from moto import mock_aws
178178

179-
mock_batch().__enter__()
180-
mock_iam().__enter__()
181-
mock_ec2().__enter__()
182-
mock_ecs().__enter__()
183-
mock_logs().__enter__()
179+
mock_aws().__enter__()
184180

185181
import boto3.session
186182

0 commit comments

Comments
 (0)