From f80f686fe15dfe8fc9a527e1d15203e9782e34b5 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Tue, 17 Dec 2024 23:00:54 +0100 Subject: [PATCH] Make test_dms in AWS triggers skipped when no aiobotocore available (#45013) In case aiobotocore is not installed (which might happen when the latest botocore is used) we should skip the test_dms test. --- providers/tests/amazon/aws/triggers/test_dms.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/providers/tests/amazon/aws/triggers/test_dms.py b/providers/tests/amazon/aws/triggers/test_dms.py index da86e6a8e85ea..f1dcd99e18fc7 100644 --- a/providers/tests/amazon/aws/triggers/test_dms.py +++ b/providers/tests/amazon/aws/triggers/test_dms.py @@ -35,6 +35,8 @@ BASE_TRIGGER_CLASSPATH = "airflow.providers.amazon.aws.triggers.dms." +pytest.importorskip("aiobotocore") + class TestBaseDmsTrigger: EXPECTED_WAITER_NAME: str | None = None