OS tools refactor

Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
This commit is contained in:
Katarzyna Treder
2024-12-11 07:58:50 +01:00
parent 3e67a8c0f5
commit 8a5d531a32
92 changed files with 187 additions and 173 deletions

View File

@@ -10,7 +10,7 @@ import pytest
from api.cas import cas_module, casctl
from api.cas.cas_module import CasModule
from core.test_run import TestRun
from test_utils import os_utils
from test_tools.os_tools import load_kernel_module
@pytest.mark.os_dependent
@@ -46,5 +46,5 @@ def test_init_status():
TestRun.fail("CAS management device is present in OS when CAS module is not loaded.")
with TestRun.step("Load CAS modules and start CAS service"):
os_utils.load_kernel_module(CasModule.cache.value)
load_kernel_module(CasModule.cache.value)
casctl.start()