Skip to content

Commit b659608

Browse files
committed
Update moto usage
1 parent 023123c commit b659608

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def env_setup():
7373
def dynamodb(fake_users, monkeypatch):
7474
from fuzzbucket import aws
7575

76-
with moto.mock_dynamodb():
76+
with moto.mock_aws():
7777
ddb = boto3.resource("dynamodb", region_name="us-east-1")
7878
setup_dynamodb_tables(ddb, fake_users)
7979

@@ -87,7 +87,7 @@ def dynamodb(fake_users, monkeypatch):
8787
def ec2(monkeypatch):
8888
from fuzzbucket import aws
8989

90-
with moto.mock_ec2():
90+
with moto.mock_aws():
9191
ec2c = boto3.client("ec2", region_name="us-east-1")
9292

9393
with monkeypatch.context() as mp:

0 commit comments

Comments
 (0)