OS tools refactor:

- make udev, runlevel, memory and wget separate files
- rename os_utils to os_tools and move it to test_tools
- remove ModuleRemoveMethod and set modprobe as default
- fix regex in is_kernel_module_loaded method
- remove get_sys_block_path
- move get_block_device_names method to disk tools

Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
This commit is contained in:
Katarzyna Treder
2024-12-11 07:54:25 +01:00
parent ae9b036b47
commit 7512420e2a
17 changed files with 533 additions and 518 deletions

View File

@@ -14,7 +14,7 @@ from datetime import timedelta
from core.test_run import TestRun
from storage_devices.device import Device
from test_utils.filesystem.directory import Directory
from test_utils.os_utils import is_mounted, drop_caches, DropCachesMode
from test_tools.os_tools import is_mounted, drop_caches, DropCachesMode
from types.size import Size, Unit
DEBUGFS_MOUNT_POINT = "/sys/kernel/debug"