Skip to content

Commit bdc4bd0

Browse files
committed
fix tests for AWS Secrets Manager
1 parent d90575d commit bdc4bd0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_source_aws_secrets_manager.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"""
44

55
import json
6+
import os
67
from typing import Tuple, Type
78

89
import pytest
@@ -20,6 +21,8 @@
2021
aws_secrets_manager = True
2122
import_aws_secrets_manager()
2223
import boto3
24+
25+
os.environ['AWS_DEFAULT_REGION'] = os.environ.get('AWS_DEFAULT_REGION', 'us-east-1')
2326
except ImportError:
2427
aws_secrets_manager = False
2528

0 commit comments

Comments
 (0)