Skip to content

Commit e0abcd0

Browse files
committed
ensure reuse on boto3 session, which might be causing credential error
1 parent 6489dea commit e0abcd0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/unit/src/test_provider_espressif.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@
1818
from src.provider_espressif.main import s3_object_stream
1919
from src.provider_espressif.schemas import INPUT_SCHEMA # pylint: disable=wrong-import-position
2020

21-
@mock_aws
21+
@mock_aws(config={
22+
"core": {
23+
"mock_credentials": True,
24+
"reset_boto3_session": False,
25+
"service_whitelist": None,
26+
},
27+
'iot': {'use_valid_cert': True}})
2228
class TestProviderEspressif(TestCase):
2329

2430
def setUp(self):

0 commit comments

Comments
 (0)