test: fix isort issues

This commit is contained in:
Michael Vogt 2024-01-02 12:27:55 +01:00 committed by Simon de Vlieger
parent 57b5c7994e
commit 530afa566f
5 changed files with 5 additions and 7 deletions

View file

@ -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():

View file

@ -4,7 +4,6 @@
from osbuild.testutil.imports import import_module_from_path
canary = "import-went-okay"

View file

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

View file

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

View file

@ -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():