setting envvars
This commit is contained in:
parent
8cd62728c6
commit
263d858349
@ -4,6 +4,7 @@ from __future__ import absolute_import
|
|||||||
|
|
||||||
import functools
|
import functools
|
||||||
import inspect
|
import inspect
|
||||||
|
import os
|
||||||
import re
|
import re
|
||||||
import six
|
import six
|
||||||
from io import BytesIO
|
from io import BytesIO
|
||||||
@ -21,6 +22,11 @@ from .utils import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
# "Mock" the AWS credentials as they can't be mocked in Botocore currently
|
||||||
|
os.environ.setdefault("AWS_ACCESS_KEY_ID", "foobar_key")
|
||||||
|
os.environ.setdefault("AWS_SECRET_ACCESS_KEY", "foobar_secret")
|
||||||
|
|
||||||
|
|
||||||
class BaseMockAWS(object):
|
class BaseMockAWS(object):
|
||||||
nested_count = 0
|
nested_count = 0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user