Move AWS placebo fixtures into test/units/utils so module_utils tests can use them (#37300)

This commit is contained in:
Sloane Hertel 2018-03-22 14:57:59 -04:00 committed by ansibot
parent 296ad80002
commit f53f29352d
6 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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

View file

@ -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 = """

View file

@ -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

View file

@ -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