diff --git a/tests/unit/plugins/modules/test_data_pipeline.py b/tests/unit/plugins/modules/test_data_pipeline.py index 63a99a5d9d7..aba728a241b 100644 --- a/tests/unit/plugins/modules/test_data_pipeline.py +++ b/tests/unit/plugins/modules/test_data_pipeline.py @@ -25,12 +25,16 @@ from ansible_collections.amazon.aws.plugins.module_utils.botocore import HAS_BOTO3 -# pylint: disable-next=unused-import +# isort: off # Magic... Incorrectly identified by pylint as unused # pylint: disable-next=unused-import from ansible_collections.amazon.aws.tests.unit.utils.amazon_placebo_fixtures import maybe_sleep + +# pylint: disable-next=unused-import from ansible_collections.amazon.aws.tests.unit.utils.amazon_placebo_fixtures import placeboify +# isort: on + from ansible_collections.community.aws.plugins.modules import data_pipeline if not HAS_BOTO3: diff --git a/tests/unit/plugins/modules/test_directconnect_connection.py b/tests/unit/plugins/modules/test_directconnect_connection.py index 1c22e7eddc7..1e00b97c0ea 100644 --- a/tests/unit/plugins/modules/test_directconnect_connection.py +++ b/tests/unit/plugins/modules/test_directconnect_connection.py @@ -14,12 +14,16 @@ from ansible_collections.amazon.aws.plugins.module_utils.botocore import HAS_BOTO3 -# pylint: disable-next=unused-import +# isort: off # Magic... Incorrectly identified by pylint as unused # pylint: disable-next=unused-import from ansible_collections.amazon.aws.tests.unit.utils.amazon_placebo_fixtures import maybe_sleep + +# pylint: disable-next=unused-import from ansible_collections.amazon.aws.tests.unit.utils.amazon_placebo_fixtures import placeboify +# isort: on + from ansible_collections.community.aws.plugins.modules import directconnect_connection if not HAS_BOTO3: diff --git a/tests/unit/plugins/modules/test_directconnect_link_aggregation_group.py b/tests/unit/plugins/modules/test_directconnect_link_aggregation_group.py index b3db10cda7f..a950f6ab93b 100644 --- a/tests/unit/plugins/modules/test_directconnect_link_aggregation_group.py +++ b/tests/unit/plugins/modules/test_directconnect_link_aggregation_group.py @@ -19,12 +19,16 @@ from ansible_collections.amazon.aws.plugins.module_utils.ec2 import boto3_conn from ansible_collections.amazon.aws.plugins.module_utils.ec2 import get_aws_connection_info -# pylint: disable-next=unused-import +# isort: off # Magic... Incorrectly identified by pylint as unused # pylint: disable-next=unused-import from ansible_collections.amazon.aws.tests.unit.utils.amazon_placebo_fixtures import maybe_sleep + +# pylint: disable-next=unused-import from ansible_collections.amazon.aws.tests.unit.utils.amazon_placebo_fixtures import placeboify +# isort: on + from ansible_collections.community.aws.plugins.modules import directconnect_link_aggregation_group as lag_module if not HAS_BOTO3: diff --git a/tests/unit/plugins/modules/test_directconnect_virtual_interface.py b/tests/unit/plugins/modules/test_directconnect_virtual_interface.py index 7aea934be69..0f43b7b66c0 100644 --- a/tests/unit/plugins/modules/test_directconnect_virtual_interface.py +++ b/tests/unit/plugins/modules/test_directconnect_virtual_interface.py @@ -14,12 +14,16 @@ from ansible_collections.amazon.aws.plugins.module_utils.botocore import HAS_BOTO3 -# pylint: disable-next=unused-import +# isort: off # Magic... Incorrectly identified by pylint as unused # pylint: disable-next=unused-import from ansible_collections.amazon.aws.tests.unit.utils.amazon_placebo_fixtures import maybe_sleep + +# pylint: disable-next=unused-import from ansible_collections.amazon.aws.tests.unit.utils.amazon_placebo_fixtures import placeboify +# isort: on + from ansible_collections.community.aws.plugins.modules import directconnect_virtual_interface if not HAS_BOTO3: diff --git a/tests/unit/plugins/modules/test_ec2_vpc_vpn.py b/tests/unit/plugins/modules/test_ec2_vpc_vpn.py index 5f81443d2d4..8bde1dffac1 100644 --- a/tests/unit/plugins/modules/test_ec2_vpc_vpn.py +++ b/tests/unit/plugins/modules/test_ec2_vpc_vpn.py @@ -16,12 +16,16 @@ from ansible_collections.amazon.aws.plugins.module_utils.ec2 import boto3_tag_list_to_ansible_dict from ansible_collections.amazon.aws.plugins.module_utils.ec2 import get_aws_connection_info -# pylint: disable-next=unused-import +# isort: off # Magic... Incorrectly identified by pylint as unused # pylint: disable-next=unused-import from ansible_collections.amazon.aws.tests.unit.utils.amazon_placebo_fixtures import maybe_sleep + +# pylint: disable-next=unused-import from ansible_collections.amazon.aws.tests.unit.utils.amazon_placebo_fixtures import placeboify +# isort: on + from ansible_collections.community.aws.plugins.modules import ec2_vpc_vpn