Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@

BASE_TRIGGER_CLASSPATH = "airflow.providers.amazon.aws.triggers.bedrock."

pytest.importorskip("aiobotocore")


class TestBaseBedrockTrigger:
EXPECTED_WAITER_NAME: str | None = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@

BASE_TRIGGER_CLASSPATH = "airflow.providers.amazon.aws.triggers.comprehend."

pytest.importorskip("aiobotocore")


class TestBaseComprehendTrigger:
EXPECTED_WAITER_NAME: str | None = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@

BASE_TRIGGER_CLASSPATH = "airflow.providers.amazon.aws.triggers.glue."

pytest.importorskip("aiobotocore")


class TestGlueJobTrigger:
@pytest.mark.asyncio
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
from airflow.triggers.base import TriggerEvent
from unit.amazon.aws.utils.test_waiter import assert_expected_waiter_type

pytest.importorskip("aiobotocore")


class TestGlueCrawlerCompleteTrigger:
def test_serialization(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@

BASE_TRIGGER_CLASSPATH = "airflow.providers.amazon.aws.triggers.kinesis_analytics."

pytest.importorskip("aiobotocore")


class TestKinesisAnalyticsV2ApplicationOperationCompleteTrigger:
APPLICATION_NAME = "demo"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@

BASE_TRIGGER_CLASSPATH = "airflow.providers.amazon.aws.triggers.opensearch_serverless."

pytest.importorskip("aiobotocore")


class TestBaseBedrockTrigger(TestAwsBaseWaiterTrigger):
EXPECTED_WAITER_NAME: str | None = None
Expand Down