Skip to content

Commit

Permalink
Fix ci test issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dbernstein committed Sep 6, 2023
1 parent 4a6a6ff commit f9e33c7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/core/operation/test_export_analysis_operation.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import os

import botocore
from botocore.config import Config
from botocore.stub import Stubber

from core.operation.export_analysis_operation import ExportAnalysisOperation
Expand All @@ -20,7 +21,11 @@ def test(self):
output_dir = "/tmp/test-output"
account = "012345678910"

qs_client = botocore.session.get_session().create_client("quicksight")
boto_config = Config(
region_name='us-east-1',
)

qs_client = botocore.session.get_session().create_client("quicksight", config=boto_config)
with Stubber(qs_client) as stub:
analysis_description_params = {
"AwsAccountId": account,
Expand Down

0 comments on commit f9e33c7

Please sign in to comment.