test: fix isort issues
This commit is contained in:
parent
57b5c7994e
commit
530afa566f
5 changed files with 5 additions and 7 deletions
|
|
@ -1,7 +1,7 @@
|
|||
from unittest.mock import Mock
|
||||
|
||||
from osbuild.mounts import Mount
|
||||
from osbuild.meta import ModuleInfo
|
||||
from osbuild.mounts import Mount
|
||||
|
||||
|
||||
def test_mount_calc_id_is_stable():
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
from osbuild.testutil.imports import import_module_from_path
|
||||
|
||||
|
||||
canary = "import-went-okay"
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import os
|
|||
import pytest
|
||||
|
||||
from osbuild.mounts import FileSystemMountService
|
||||
from osbuild.util.mnt import mount, MountGuard
|
||||
from osbuild.util.mnt import MountGuard, mount
|
||||
|
||||
|
||||
@pytest.mark.skipif(os.getuid() != 0, reason="root only")
|
||||
|
|
|
|||
|
|
@ -15,8 +15,7 @@ from contextlib import contextmanager
|
|||
|
||||
import pytest
|
||||
|
||||
from osbuild import devices, host, meta, mounts
|
||||
from osbuild import testutil
|
||||
from osbuild import devices, host, meta, mounts, testutil
|
||||
|
||||
from ..test import TestBase
|
||||
|
||||
|
|
|
|||
|
|
@ -17,11 +17,11 @@ import xml
|
|||
from collections.abc import Mapping
|
||||
from typing import Callable, Dict, List, Optional
|
||||
|
||||
from osbuild.util import checksum, selinux
|
||||
from osbuild.testutil import has_executable
|
||||
from .test_assemblers import mount
|
||||
from osbuild.util import checksum, selinux
|
||||
|
||||
from .. import initrd, test
|
||||
from .test_assemblers import mount
|
||||
|
||||
|
||||
def have_sfdisk_with_json():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue