Add multi-region support to Autoscaling
This commit is contained in:
parent
82eef28937
commit
7e69c69ae0
4 changed files with 143 additions and 28 deletions
|
|
@ -1,2 +1,9 @@
|
|||
from .models import autoscaling_backend
|
||||
mock_autoscaling = autoscaling_backend.decorator
|
||||
from .models import autoscaling_backend, autoscaling_backends
|
||||
from ..core.models import MockAWS
|
||||
|
||||
|
||||
def mock_autoscaling(func=None):
|
||||
if func:
|
||||
return MockAWS(autoscaling_backends)(func)
|
||||
else:
|
||||
return MockAWS(autoscaling_backends)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue