Fix imports
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
#
|
||||
# Copyright(c) 2020-2022 Intel Corporation
|
||||
# Copyright(c) 2024 Huawei Technologies
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
#
|
||||
|
||||
import pytest
|
||||
|
||||
from time import sleep
|
||||
|
||||
import test_tools.fs_tools
|
||||
from api.cas import casadm
|
||||
from api.cas.cache_config import (CacheMode,
|
||||
CacheModeTrait,
|
||||
@@ -47,7 +48,7 @@ def test_flush_signal_core(cache_mode):
|
||||
|
||||
with TestRun.step("Start cache and add SCSI device with xfs filesystem as core."):
|
||||
cache = casadm.start_cache(cache_part, cache_mode)
|
||||
test_tools.fs_utils.create_filesystem(Filesystem.xfs)
|
||||
core_dev.create_filesystem(Filesystem.xfs)
|
||||
core = cache.add_core(core_dev)
|
||||
|
||||
with TestRun.step("Mount exported object."):
|
||||
@@ -145,7 +146,7 @@ def test_flush_signal_cache(cache_mode):
|
||||
|
||||
with TestRun.step("Start SCSI device as cache and add core with xfs filesystem."):
|
||||
cache = casadm.start_cache(cache_dev, cache_mode)
|
||||
test_tools.fs_utils.create_filesystem(Filesystem.xfs)
|
||||
core_part.create_filesystem(Filesystem.xfs)
|
||||
core = cache.add_core(core_part)
|
||||
|
||||
with TestRun.step("Mount exported object."):
|
||||
|
Reference in New Issue
Block a user