mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-06 02:33:09 +00:00
Move AWS placebo fixtures into test/units/utils so module_utils tests can use them (#37300)
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from . placebo_fixtures import placeboify, maybe_sleep
|
||||
from units.utils.amazon_placebo_fixtures import placeboify, maybe_sleep
|
||||
from ansible.modules.cloud.amazon import aws_direct_connect_connection
|
||||
from ansible.module_utils.ec2 import get_aws_connection_info, boto3_conn
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
import pytest
|
||||
import os
|
||||
import collections
|
||||
from . placebo_fixtures import placeboify, maybe_sleep
|
||||
from units.utils.amazon_placebo_fixtures import placeboify, maybe_sleep
|
||||
from ansible.modules.cloud.amazon import aws_direct_connect_link_aggregation_group as lag_module
|
||||
from ansible.module_utils.ec2 import get_aws_connection_info, boto3_conn
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
import pytest
|
||||
from mock import patch
|
||||
|
||||
from .placebo_fixtures import placeboify, maybe_sleep
|
||||
from units.utils.amazon_placebo_fixtures import placeboify, maybe_sleep
|
||||
from ansible.modules.cloud.amazon import cloudformation as cfn_module
|
||||
|
||||
basic_yaml_tpl = """
|
||||
|
||||
@@ -20,7 +20,7 @@ import json
|
||||
import collections
|
||||
|
||||
import pytest
|
||||
from . placebo_fixtures import placeboify, maybe_sleep
|
||||
from units.utils.amazon_placebo_fixtures import placeboify, maybe_sleep
|
||||
|
||||
from ansible.modules.cloud.amazon import data_pipeline
|
||||
from ansible.module_utils._text import to_text
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
import pytest
|
||||
import os
|
||||
from . placebo_fixtures import placeboify, maybe_sleep
|
||||
from units.utils.amazon_placebo_fixtures import placeboify, maybe_sleep
|
||||
from ansible.modules.cloud.amazon import ec2_vpc_vpn
|
||||
from ansible.module_utils._text import to_text
|
||||
from ansible.module_utils.ec2 import get_aws_connection_info, boto3_conn, boto3_tag_list_to_ansible_dict
|
||||
|
||||
Reference in New Issue
Block a user