forked from getmoto/moto
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request getmoto#375 from achiku/emr-multi-region
Make EMR multi region
- Loading branch information
Showing
4 changed files
with
75 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
from __future__ import unicode_literals | ||
from .models import emr_backend | ||
mock_emr = emr_backend.decorator | ||
from .models import emr_backends | ||
from ..core.models import MockAWS | ||
|
||
emr_backend = emr_backends['us-east-1'] | ||
|
||
|
||
def mock_emr(func=None): | ||
if func: | ||
return MockAWS(emr_backends)(func) | ||
else: | ||
return MockAWS(emr_backends) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters