Fix according to pre-commit

This commit is contained in:
Damien Degois 2022-09-13 01:54:20 +02:00 committed by Daniel Wozniak
parent 0c7041ac43
commit d20f57852b
4 changed files with 5 additions and 1 deletions

View file

@ -2,11 +2,12 @@ import logging
import time
import pytest
import salt.modules.mongodb as mongo_mod
from saltfactories.daemons.container import Container
from saltfactories.utils import random_string
from saltfactories.utils.ports import get_unused_localhost_port
import salt.modules.mongodb as mongo_mod
docker = pytest.importorskip("docker")
log = logging.getLogger(__name__)

View file

@ -5,6 +5,7 @@
import pytest
import salt.modules.mongodb as mongodb
import salt.modules.mongodb
from tests.support.mock import MagicMock, patch
try:

View file

@ -1,4 +1,5 @@
import pytest
import salt.returners.mongo_return as mongo_return
from tests.support.mock import patch

View file

@ -1,4 +1,5 @@
import pytest
import salt.tops.mongo
from tests.support.mock import patch