05-arcadia.patch 455 B

12345678910
  1. --- contrib/python/moto/py3/moto/core/responses.py
  2. +++ contrib/python/moto/py3/moto/core/responses.py
  3. @@ -344,6 +344,7 @@ class BaseResponse(_TemplateEnvironmentMixin, ActionAuthenticatorMixin):
  4. return "AKIAEXAMPLE"
  5. def get_current_account(self):
  6. + return "123456789012"
  7. # PRIO 1: Check if we have a Environment Variable set
  8. if "MOTO_ACCOUNT_ID" in os.environ:
  9. return os.environ["MOTO_ACCOUNT_ID"]