From 916ccb0829e92b5f0e429181d7768912dd12028d Mon Sep 17 00:00:00 2001 From: Leandro Damascena Date: Fri, 19 Jan 2024 10:57:13 +0000 Subject: [PATCH 1/2] Disabling Redis e2e until we drop Python 3.7 --- tests/e2e/idempotency_redis/conftest.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/e2e/idempotency_redis/conftest.py b/tests/e2e/idempotency_redis/conftest.py index 65cffcd1948..bd9a9a2f292 100644 --- a/tests/e2e/idempotency_redis/conftest.py +++ b/tests/e2e/idempotency_redis/conftest.py @@ -1,7 +1,5 @@ import pytest -from tests.e2e.idempotency_redis.infrastructure import IdempotencyRedisServerlessStack - @pytest.fixture(autouse=True, scope="package") def infrastructure(): @@ -12,8 +10,14 @@ def infrastructure(): Dict[str, str] CloudFormation Outputs from deployed infrastructure """ + + return None + + # MAINTENANCE: Uncomment the code below to enable Redis e2e tests when dropping Python 3.7 + """ stack = IdempotencyRedisServerlessStack() try: yield stack.deploy() finally: stack.delete() + """ From 9d6edb6c69a62cc7d420b340405857334f52a0da Mon Sep 17 00:00:00 2001 From: Leandro Damascena Date: Fri, 19 Jan 2024 11:01:52 +0000 Subject: [PATCH 2/2] Disabling Redis e2e until we drop Python 3.7 --- tests/e2e/idempotency_redis/conftest.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/tests/e2e/idempotency_redis/conftest.py b/tests/e2e/idempotency_redis/conftest.py index bd9a9a2f292..6f3183f02dd 100644 --- a/tests/e2e/idempotency_redis/conftest.py +++ b/tests/e2e/idempotency_redis/conftest.py @@ -11,13 +11,5 @@ def infrastructure(): CloudFormation Outputs from deployed infrastructure """ + # MAINTENANCE: Add the Stack constructor when Python 3.7 is dropped return None - - # MAINTENANCE: Uncomment the code below to enable Redis e2e tests when dropping Python 3.7 - """ - stack = IdempotencyRedisServerlessStack() - try: - yield stack.deploy() - finally: - stack.delete() - """