diff --git a/tests/test_connection_manager.py b/tests/test_connection_manager.py index 077a0d10e..4753a9d66 100644 --- a/tests/test_connection_manager.py +++ b/tests/test_connection_manager.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- +import os import pytest from mock import Mock, patch, sentinel, ANY from moto import mock_s3 @@ -22,6 +23,10 @@ def setup_method(self, test_method): ConnectionManager._clients = {} ConnectionManager._stack_keys = {} + # Temporary workaround for https://github.com/spulec/moto/issues/1924 + os.environ.setdefault("AWS_ACCESS_KEY_ID", "sceptre_test_key_id") + os.environ.setdefault("AWS_SECRET_ACCESS_KEY", "sceptre_test_access_key") + self.connection_manager = ConnectionManager( region=self.region, stack_name=self.stack_name,