Use correct module path for new plugin import

This commit is contained in:
Luke Murphy 2019-11-16 08:05:43 +07:00
parent d79d2965db
commit 357a80d9ac
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -22,7 +22,7 @@ import os
import pytest import pytest
from molecule import config from molecule import config
from molecule.driver import hetznercloud from molecule_hetznercloud import hetznercloud
@pytest.fixture @pytest.fixture
@ -96,7 +96,7 @@ def test_hetznercloud_default_ssh_connection_options_property(hetznercloud_insta
def test_hetznercloud_login_options(hetznercloud_instance, mocker): def test_hetznercloud_login_options(hetznercloud_instance, mocker):
target = "molecule.driver.hetznercloud.HetznerCloud._get_instance_config" target = "molecule_hetznercloud.hetznercloud.HetznerCloud._get_instance_config"
get_instance_config_patch = mocker.patch(target) get_instance_config_patch = mocker.patch(target)
get_instance_config_patch.return_value = { get_instance_config_patch.return_value = {
@ -119,7 +119,7 @@ def test_hetznercloud_login_options(hetznercloud_instance, mocker):
def test_hetznercloud_ansible_connection_opts(hetznercloud_instance, mocker): def test_hetznercloud_ansible_connection_opts(hetznercloud_instance, mocker):
target = "molecule.driver.hetznercloud.HetznerCloud._get_instance_config" target = "molecule_hetznercloud.hetznercloud.HetznerCloud._get_instance_config"
get_instance_config_patch = mocker.patch(target) get_instance_config_patch = mocker.patch(target)
get_instance_config_patch.return_value = { get_instance_config_patch.return_value = {