mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Be sure to import the required fixtures
This commit is contained in:
parent
2c2b9f7fd8
commit
676e3c061e
4 changed files with 7 additions and 3 deletions
|
@ -285,6 +285,10 @@ salt/(minion\.py|channel/.+|transport/.+):
|
|||
tests/support/mock.py:
|
||||
- unit.test_mock
|
||||
|
||||
tests/support/pytest/mysql.py:
|
||||
- pytests.integration.states.test_mysql
|
||||
- pytests.integration.modules.test_mysql
|
||||
|
||||
tests/pytests/scenarios/multimaster:
|
||||
- pytests.scenarios.multimaster.test_multimaster
|
||||
- pytests.scenarios.multimaster.test_offline_master
|
||||
|
|
|
@ -5,7 +5,7 @@ import logging
|
|||
|
||||
import pytest
|
||||
import salt.modules.mysql as mysql
|
||||
from tests.support.pytest.mysql import mysql_container # pylint: disable=unused-import
|
||||
from tests.support.pytest.mysql import * # pylint: disable=wildcard-import,unused-wildcard-import
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ import logging
|
|||
|
||||
import pytest
|
||||
import salt.modules.mysql as mysql
|
||||
from tests.support.pytest.mysql import mysql_container # pylint: disable=unused-import
|
||||
from tests.support.pytest.mysql import * # pylint: disable=wildcard-import,unused-wildcard-import
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
|
|
@ -93,7 +93,7 @@ def mysql_image(request, docker_client):
|
|||
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def mysql_container(salt_factories, salt_call_cli, mysql_image):
|
||||
def mysql_container(salt_factories, docker_client, salt_call_cli, mysql_image):
|
||||
|
||||
mysql_user = "root"
|
||||
mysql_passwd = "password"
|
||||
|
|
Loading…
Add table
Reference in a new issue