Skip to content

Commit 6489dea

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

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/unit/src/test_bulk_importer.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,13 @@
2222
from cryptography.hazmat.primitives import serialization
2323
import base64
2424

25-
@mock_aws(config={'iot': {'use_valid_cert': True}})
25+
@mock_aws(config={
26+
"core": {
27+
"mock_credentials": True,
28+
"reset_boto3_session": False,
29+
"service_whitelist": None,
30+
},
31+
'iot': {'use_valid_cert': True}})
2632
class TestBulkImporter(TestCase):
2733
def setUp(self):
2834
self.test_sqs_queue_name = "provider"

0 commit comments

Comments
 (0)