Fix names: rename types to type_def
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
This commit is contained in:
@@ -8,7 +8,7 @@ import pytest
|
||||
|
||||
from api.cas.cas_module import CasModule
|
||||
from core.test_run import TestRun
|
||||
from types.size import Unit
|
||||
from type_def.size import Unit
|
||||
from test_tools.os_tools import (drop_caches,
|
||||
is_kernel_module_loaded,
|
||||
load_kernel_module,
|
||||
|
@@ -8,7 +8,7 @@ import pytest
|
||||
import time
|
||||
|
||||
from core.test_run_utils import TestRun
|
||||
from types.size import Size, Unit
|
||||
from type_def.size import Size, Unit
|
||||
from core.test_run import TestRun
|
||||
from storage_devices.disk import DiskType, DiskTypeSet, DiskTypeLowerThan
|
||||
from test_tools.fio.fio import Fio
|
||||
|
@@ -10,7 +10,7 @@ from api.cas import casadm
|
||||
from core.test_run import TestRun
|
||||
from test_tools.os_tools import sync
|
||||
from storage_devices.disk import DiskType, DiskTypeSet, DiskTypeLowerThan
|
||||
from types.size import Unit, Size
|
||||
from type_def.size import Unit, Size
|
||||
from test_tools.dd import Dd
|
||||
|
||||
|
||||
|
@@ -17,7 +17,7 @@ from test_tools.disk_utils import Filesystem
|
||||
from test_utils.filesystem.file import File
|
||||
from test_tools.os_tools import sync
|
||||
from connection.utils.output import CmdException
|
||||
from types.size import Size, Unit
|
||||
from type_def.size import Size, Unit
|
||||
from api.cas.cli_messages import (
|
||||
check_stderr_msg,
|
||||
missing_param,
|
||||
|
@@ -10,7 +10,7 @@ from api.cas import casadm, casadm_parser, cli_messages
|
||||
from api.cas.cli import start_cmd
|
||||
from core.test_run import TestRun
|
||||
from storage_devices.disk import DiskType, DiskTypeSet, DiskTypeLowerThan
|
||||
from types.size import Unit, Size
|
||||
from type_def.size import Unit, Size
|
||||
|
||||
CACHE_ID_RANGE = (1, 16384)
|
||||
CORE_ID_RANGE = (0, 4095)
|
||||
|
@@ -8,7 +8,7 @@ import time
|
||||
|
||||
from core.test_run_utils import TestRun
|
||||
from storage_devices.device import Device
|
||||
from types.size import Size, Unit
|
||||
from type_def.size import Size, Unit
|
||||
from core.test_run import TestRun
|
||||
from storage_devices.disk import DiskType, DiskTypeSet, DiskTypeLowerThan
|
||||
from test_tools.fio.fio import Fio
|
||||
|
@@ -14,7 +14,7 @@ from api.cas.casadm import set_param_cutoff_cmd
|
||||
from core.test_run import TestRun
|
||||
|
||||
from storage_devices.disk import DiskType, DiskTypeSet, DiskTypeLowerThan
|
||||
from types.size import Size, Unit
|
||||
from type_def.size import Size, Unit
|
||||
|
||||
|
||||
@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.optane, DiskType.nand]))
|
||||
|
@@ -19,7 +19,7 @@ from api.cas.cache_config import (
|
||||
)
|
||||
from core.test_run import TestRun
|
||||
from storage_devices.disk import DiskType, DiskTypeSet, DiskTypeLowerThan
|
||||
from types.size import Size, Unit
|
||||
from type_def.size import Size, Unit
|
||||
|
||||
|
||||
# There should be at least 2 cache instances and 2 cores per cache
|
||||
|
@@ -17,7 +17,7 @@ from test_tools.fio.fio import Fio
|
||||
from test_tools.fio.fio_param import IoEngine, ReadWrite
|
||||
from test_tools.disk_finder import get_system_disks
|
||||
from connection.utils.output import CmdException
|
||||
from types.size import Size, Unit
|
||||
from type_def.size import Size, Unit
|
||||
|
||||
|
||||
@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.optane, DiskType.nand]))
|
||||
|
Reference in New Issue
Block a user