From f8633cbab7ce628bd08e6e35291f7e7f45206d8b Mon Sep 17 00:00:00 2001 From: Steve Pulec Date: Mon, 18 Feb 2013 16:31:42 -0500 Subject: [PATCH] rename backends --- moto/ec2/models.py | 4 ++-- moto/s3/models.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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()