kiwi-el8/test/unit/system
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
..
root_import Refactor container factory classes 2020-12-15 20:19:10 +01:00
__init__.py Re-structure unit tests folders 2019-10-21 14:00:05 +02:00
identifier_test.py Add strong typing for the following API methods 2021-01-21 11:39:42 +00:00
kernel_test.py Add strong typing for the following API methods 2021-01-22 17:25:17 +00:00
prepare_test.py Make debootstrap repository explicit 2020-12-11 17:20:00 +01:00
profile_test.py Allow custom root volume name setup 2020-10-27 16:17:47 +01:00
result_test.py Add strong typing for the following API methods 2021-01-22 17:25:17 +00:00
root_bind_test.py Add strong typing for the following API methods 2021-01-21 11:39:42 +00:00
root_init_test.py Add strong typing for the following API methods 2021-01-21 11:39:42 +00:00
setup_test.py Added strong typing for the following API methods 2021-01-20 17:09:26 +01:00
shell_test.py Added new post disk sync script hook 2020-06-06 16:29:24 +02:00
size_test.py Add strong typing for the following API methods 2021-01-21 11:22:15 +00:00
uri_test.py Fixed API vs. CLI inconsistency 2021-03-08 10:08:26 +01:00
users_test.py Add strong typing for the following API methods 2021-01-21 11:22:15 +00:00