Cleanup multi-region support for ELB, SQS, Cloudformation, EC2, Autoscaling.
This commit is contained in:
parent
b39861052b
commit
bd847bd941
16 changed files with 184 additions and 90 deletions
|
|
@ -1,3 +1,10 @@
|
|||
from __future__ import unicode_literals
|
||||
from .models import elb_backend
|
||||
mock_elb = elb_backend.decorator
|
||||
from .models import elb_backends, elb_backend # flake8: noqa
|
||||
from ..core.models import MockAWS
|
||||
|
||||
|
||||
def mock_elb(func=None):
|
||||
if func:
|
||||
return MockAWS(elb_backends)(func)
|
||||
else:
|
||||
return MockAWS(elb_backends)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue