diff --git a/moto/ec2/models.py b/moto/ec2/models.py index 6d6013d42..f022fdd74 100644 --- a/moto/ec2/models.py +++ b/moto/ec2/models.py @@ -4,7 +4,7 @@ from moto.core import BaseBackend from .utils import random_instance_id, random_reservation_id -class MockEC2(BaseBackend): +class EC2Backend(BaseBackend): base_url = "https://ec2.us-east-1.amazonaws.com" def __init__(self): @@ -41,4 +41,4 @@ class MockEC2(BaseBackend): return self.reservations.values() -ec2_backend = MockEC2() \ No newline at end of file +ec2_backend = EC2Backend() \ No newline at end of file diff --git a/moto/s3/models.py b/moto/s3/models.py index c24fb89c3..c7c394959 100644 --- a/moto/s3/models.py +++ b/moto/s3/models.py @@ -22,7 +22,7 @@ class FakeBucket(object): self.keys = [] -class MockS3(BaseBackend): +class S3Backend(BaseBackend): base_url = "https://(.+).s3.amazonaws.com" def __init__(self): @@ -54,4 +54,4 @@ class MockS3(BaseBackend): return found_key -s3_backend = MockS3() +s3_backend = S3Backend()