kiwi-el8/test/unit
Marcus Schäfer f05e8b905a
Fixed API vs. CLI inconsistency
when using kiwi as API the program fails with a usage message
from the Cli class. The kiwi.cli module should not be imported
except for kiwi comandline tasks. It has turned out that the
RuntimeConfig class which is used in several places in different
API classes imports Cli and creates an instance of it to check
for a global option. This causes major issues for all programs
which uses the kiwi API but not the command line interface because
the docopt call in Cli() expects a valid docstring which only
exists in kiwi's cli.py. This commit fixes the inconsistency
and allows people to use the kiwi API independent of any
command line interface. Fixes #1755
2021-03-08 10:08:26 +01:00
..
archive Fixed oem recovery tar parameter order 2020-07-03 10:33:05 +02:00
boot Add the installinitrd element 2021-01-21 16:33:43 +01:00
bootloader Refactor grub2 installation 2021-03-03 15:19:43 +01:00
builder Refactor RuntimeConfig class 2021-02-08 12:41:20 +01:00
container Refactor RuntimeConfig class 2021-02-08 12:41:20 +01:00
filesystem Refactor iso_tools factory class 2020-12-15 20:19:10 +01:00
iso_tools Refactor iso_tools factory class 2020-12-15 20:19:10 +01:00
markup Fail non-XML descriptions if anymarkup not available (#1742) 2021-03-01 09:09:53 -05:00
oci_tools Refactor container factory classes 2020-12-15 20:19:10 +01:00
package_manager Remove files or folders that conflict with debootstrap 2021-02-10 22:27:50 +01:00
partitioner Refactor Partitioner 2020-11-25 17:02:12 +01:00
repository Fixes the rpmdb bootstrap management for DNF on SUSE 2020-12-23 17:29:53 +01:00
solver Added deb support to sat solver module 2021-02-21 18:50:16 +01:00
storage Merge pull request #1740 from OSInside/strong-typing 2021-02-26 09:15:17 +01:00
system Fixed API vs. CLI inconsistency 2021-03-08 10:08:26 +01:00
tasks Add kiwi dracut mod vs. kiwi compatibility check 2021-03-01 10:32:53 +01:00
utils Fixed use of encoding in open calls 2021-01-19 15:24:25 +01:00
volume_manager Explicitly set lvm device source 2021-01-20 15:23:42 +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 Added decorators to help with API management 2021-01-31 16:06:35 +01:00
cli_test.py Fixed API vs. CLI inconsistency 2021-03-08 10:08:26 +01:00
command_process_test.py Refactor use of logging facility 2019-10-23 17:54:27 +02:00
command_test.py Better error reporting if jing is missing 2020-11-17 16:26:55 +01:00
defaults_test.py Refactor default shared cache location 2021-01-14 14:57:26 +00:00
firmware_test.py Add support for s390 CDL DASD disks 2020-10-27 11:06:14 +01:00
help_test.py Refactor use of raises in unit tests 2019-09-29 19:42:43 +02:00
kiwi_compat_test.py Make oem be a superset of vmx 2020-09-16 12:56:14 +02:00
logger_color_formatter_test.py Refactor use of logging facility 2019-10-23 17:54:27 +02:00
logger_filter_test.py Refactor use of logging facility 2019-10-23 17:54:27 +02:00
logger_test.py Refactor use of logging facility 2019-10-23 17:54:27 +02:00
mount_manager_test.py Refactor use of logging facility 2019-10-23 17:54:27 +02:00
path_test.py Fixed scope of remove_hierarchy 2020-07-22 11:32:28 +02:00
privileges_test.py Refactor use of raises in unit tests 2019-09-29 19:42:43 +02:00
runtime_checker_test.py Fixed API vs. CLI inconsistency 2021-03-08 10:08:26 +01:00
runtime_config_test.py Fixed API vs. CLI inconsistency 2021-03-08 10:08:26 +01:00
shell_test.py Stop inheriting from object 2019-08-22 15:43:27 +02:00
test_helper.py Refactor use of logging facility 2019-10-23 17:54:27 +02:00
xml_description_test.py Added strong typing for the following API methods 2020-12-17 10:37:22 +01:00
xml_state_test.py Merge pull request #1688 from OSInside/set_specific_list_of_dracut_modules_for_installation_initrds 2021-01-27 14:39:43 +01:00