kiwi-el8/test/unit
Marcus Schäfer 4fc0d2147d
Move DiskFormat to context manager
Change the DiskFormat Factory to be a context manager.
All code using DiskFormat was updated to the following
with statement:

    with DiskFormat(...).new as disk_format:
        disk_format.some_member()

This is related to Issue #2412
2024-02-29 16:42:49 +01:00
..
archive Use unittest.mock from core python everywhere 2024-02-18 22:15:30 +01:00
boot Move SystemPrepare to context manager 2024-02-27 15:43:06 +01:00
bootloader Set default output console to gfxterm for grub 2024-02-28 10:42:17 +01:00
builder Move DiskFormat to context manager 2024-02-29 16:42:49 +01:00
container Use unittest.mock from core python everywhere 2024-02-18 22:15:30 +01:00
filesystem Use unittest.mock from core python everywhere 2024-02-18 22:15:30 +01:00
iso_tools Use unittest.mock from core python everywhere 2024-02-18 22:15:30 +01:00
markup Use unittest.mock from core python everywhere 2024-02-18 22:15:30 +01:00
oci_tools Use unittest.mock from core python everywhere 2024-02-18 22:15:30 +01:00
package_manager Use unittest.mock from core python everywhere 2024-02-18 22:15:30 +01:00
partitioner Add support for discoverable partitions 2024-02-26 09:42:01 +01:00
repository Move Repository to context manager 2024-02-22 16:17:28 +01:00
solver Use unittest.mock from core python everywhere 2024-02-18 22:15:30 +01:00
storage Move DiskFormat to context manager 2024-02-29 16:42:49 +01:00
system Move SystemPrepare to context manager 2024-02-27 15:43:06 +01:00
tasks Move DiskFormat to context manager 2024-02-29 16:42:49 +01:00
utils Refactor Command class 2024-02-19 16:33:24 +01:00
volume_manager Move VolumeManager to context manager 2024-02-21 09:40:47 +01:00
__init__.py KIWI - appliance builder next generation 2015-12-05 16:17:10 +01:00
.coveragerc Use pragma: no cover to skip non reachable code 2020-09-29 09:58:22 +02:00
api_helper_test.py Use unittest.mock from core python everywhere 2024-02-18 22:15:30 +01:00
cli_test.py Move VolumeManager to context manager 2024-02-21 09:40:47 +01:00
command_process_test.py Drop destructor from CommandProcess 2024-02-19 16:37:33 +01:00
command_test.py Refactor Command class 2024-02-19 16:33:24 +01:00
defaults_test.py Use unittest.mock from core python everywhere 2024-02-18 22:15:30 +01:00
firmware_test.py Use unittest.mock from core python everywhere 2024-02-18 22:15:30 +01:00
help_test.py Use unittest.mock from core python everywhere 2024-02-18 22:15:30 +01:00
kiwi_compat_test.py Use unittest.mock from core python everywhere 2024-02-18 22:15:30 +01:00
logger_color_formatter_test.py Use unittest.mock from core python everywhere 2024-02-18 22:15:30 +01:00
logger_filter_test.py Support nose and xunit style tests 2022-02-26 20:26:18 +01:00
logger_socket_test.py Use unittest.mock from core python everywhere 2024-02-18 22:15:30 +01:00
logger_test.py Use unittest.mock from core python everywhere 2024-02-18 22:15:30 +01:00
mount_manager_test.py Use unittest.mock from core python everywhere 2024-02-18 22:15:30 +01:00
path_test.py Refactor Command class 2024-02-19 16:33:24 +01:00
privileges_test.py Use unittest.mock from core python everywhere 2024-02-18 22:15:30 +01:00
runtime_checker_test.py Use unittest.mock from core python everywhere 2024-02-18 22:15:30 +01:00
runtime_config_test.py Use unittest.mock from core python everywhere 2024-02-18 22:15:30 +01:00
shell_test.py Refactor Command class 2024-02-19 16:33:24 +01:00
test_helper.py Refactor use of logging facility 2019-10-23 17:54:27 +02:00
xml_description_test.py Use unittest.mock from core python everywhere 2024-02-18 22:15:30 +01:00
xml_state_test.py Use unittest.mock from core python everywhere 2024-02-18 22:15:30 +01:00