From 2c560a85cda2afe22eff9ee76f77b9951b0b521a Mon Sep 17 00:00:00 2001 From: Edouard Belval Date: Mon, 24 Jun 2024 13:19:37 +0000 Subject: [PATCH] Fix tests --- tests/test_get_text_and_words.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/test_get_text_and_words.py b/tests/test_get_text_and_words.py index e926e6f..753c735 100644 --- a/tests/test_get_text_and_words.py +++ b/tests/test_get_text_and_words.py @@ -27,14 +27,13 @@ def setUp(self): self.profile_name = "default" if os.environ.get("CALL_TEXTRACT"): self.s3_client = boto3.session.Session( - #profile_name=self.profile_name + profile_name=self.profile_name ).client("s3", region_name="us-west-2") self.current_directory = os.path.abspath(os.path.dirname(__file__)) self.extractor = Textractor( - #profile_name=self.profile_name, kms_key_id="" - region_name="us-west-2" + profile_name=self.profile_name, kms_key_id="" ) self.fixture_directory = os.path.join(self.current_directory, "fixtures")