============================= test session starts ============================== platform linux -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-0.13.1 rootdir: /build/python-clikit/src/clikit-0.6.2 plugins: mock-3.6.1 collected 393 items tests/test_console_aplication.py EEEEEEEEEEEEEEEEEEEEE [ 5%] tests/api/args/format/test_args_format_builder.py ...................... [ 10%] ....................................................... [ 24%] tests/api/args/format/test_argument.py ................................. [ 33%] ................... [ 38%] tests/api/args/format/test_option.py ................................... [ 47%] ............................ [ 54%] tests/api/event/test_event.py .. [ 54%] tests/api/event/test_event_dispatcher.py ....... [ 56%] tests/api/io/test_section_output.py ........ [ 58%] tests/args/test_argv_args.py ..... [ 59%] tests/args/test_default_args_parser.py ............................ [ 66%] tests/args/test_string_args.py .............................. [ 74%] tests/handler/help/test_help_option.py EEEEEEEEE [ 76%] tests/handler/help/test_help_text_handler.py EEEEEE [ 78%] tests/ui/components/test_choice_question.py . [ 78%] tests/ui/components/test_confirmation_question.py .. [ 79%] tests/ui/components/test_exception_trace.py sFsFFFFFFF [ 81%] tests/ui/components/test_progress_bar.py ......................... [ 88%] tests/ui/components/test_progress_indicator.py .. [ 88%] tests/ui/components/test_question.py .s... [ 89%] tests/ui/components/test_table.py .................. [ 94%] tests/ui/help/test_application_help.py FFFFFFFF [ 96%] tests/ui/help/test_command_help.py FFFFFFFFFFFF [ 99%] tests/utils/test_command.py . [ 99%] tests/utils/test_terminal.py . [100%] ==================================== ERRORS ==================================== ________________________ ERROR at setup of test_create _________________________ @pytest.fixture() def config(): # type: () -> Generator[ApplicationConfig] > config = ApplicationConfig() tests/test_console_aplication.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError _____________________ ERROR at setup of test_get_commands ______________________ @pytest.fixture() def config(): # type: () -> Generator[ApplicationConfig] > config = ApplicationConfig() tests/test_console_aplication.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError ________ ERROR at setup of test_get_commands_excludes_disabled_commands ________ @pytest.fixture() def config(): # type: () -> Generator[ApplicationConfig] > config = ApplicationConfig() tests/test_console_aplication.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError ______________________ ERROR at setup of test_get_command ______________________ @pytest.fixture() def config(): # type: () -> Generator[ApplicationConfig] > config = ApplicationConfig() tests/test_console_aplication.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError ________ ERROR at setup of test_get_command_fails_if_command_not_found _________ @pytest.fixture() def config(): # type: () -> Generator[ApplicationConfig] > config = ApplicationConfig() tests/test_console_aplication.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError ______________________ ERROR at setup of test_has_command ______________________ @pytest.fixture() def config(): # type: () -> Generator[ApplicationConfig] > config = ApplicationConfig() tests/test_console_aplication.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError _____________________ ERROR at setup of test_has_commands ______________________ @pytest.fixture() def config(): # type: () -> Generator[ApplicationConfig] > config = ApplicationConfig() tests/test_console_aplication.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError ____________________ ERROR at setup of test_has_no_commands ____________________ @pytest.fixture() def config(): # type: () -> Generator[ApplicationConfig] > config = ApplicationConfig() tests/test_console_aplication.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError __________________ ERROR at setup of test_get_named_commands ___________________ @pytest.fixture() def config(): # type: () -> Generator[ApplicationConfig] > config = ApplicationConfig() tests/test_console_aplication.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError __________________ ERROR at setup of test_has_named_commands ___________________ @pytest.fixture() def config(): # type: () -> Generator[ApplicationConfig] > config = ApplicationConfig() tests/test_console_aplication.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError _________________ ERROR at setup of test_has_no_named_commands _________________ @pytest.fixture() def config(): # type: () -> Generator[ApplicationConfig] > config = ApplicationConfig() tests/test_console_aplication.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError _________________ ERROR at setup of test_get_default_commands __________________ @pytest.fixture() def config(): # type: () -> Generator[ApplicationConfig] > config = ApplicationConfig() tests/test_console_aplication.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError ________________ ERROR at setup of test_has_no_default_commands ________________ @pytest.fixture() def config(): # type: () -> Generator[ApplicationConfig] > config = ApplicationConfig() tests/test_console_aplication.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError _________________ ERROR at setup of test_has_default_commands __________________ @pytest.fixture() def config(): # type: () -> Generator[ApplicationConfig] > config = ApplicationConfig() tests/test_console_aplication.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError _______________ ERROR at setup of test_fails_if_no_command_name ________________ @pytest.fixture() def config(): # type: () -> Generator[ApplicationConfig] > config = ApplicationConfig() tests/test_console_aplication.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError ____________ ERROR at setup of test_fails_if_duplicate_command_name ____________ @pytest.fixture() def config(): # type: () -> Generator[ApplicationConfig] > config = ApplicationConfig() tests/test_console_aplication.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError ______________ ERROR at setup of test_run_command[list-] _______________ @pytest.fixture() def config(): # type: () -> Generator[ApplicationConfig] > config = ApplicationConfig() tests/test_console_aplication.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError ________________ ERROR at setup of test_run_command[-] _________________ @pytest.fixture() def config(): # type: () -> Generator[ApplicationConfig] > config = ApplicationConfig() tests/test_console_aplication.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError ___________ ERROR at setup of test_run_command[server add-] ____________ @pytest.fixture() def config(): # type: () -> Generator[ApplicationConfig] > config = ApplicationConfig() tests/test_console_aplication.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError _____________ ERROR at setup of test_run_command[server-] ______________ @pytest.fixture() def config(): # type: () -> Generator[ApplicationConfig] > config = ApplicationConfig() tests/test_console_aplication.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError ______________ ERROR at setup of test_run_with_keyboard_interrupt ______________ @pytest.fixture() def config(): # type: () -> Generator[ApplicationConfig] > config = ApplicationConfig() tests/test_console_aplication.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError ____________ ERROR at setup of test_help_option[command run --help] ____________ @pytest.fixture() def app(): > config = DefaultApplicationConfig() tests/handler/help/test_help_option.py:18: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError _______ ERROR at setup of test_help_option[command run --help --another] _______ @pytest.fixture() def app(): > config = DefaultApplicationConfig() tests/handler/help/test_help_option.py:18: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError ______ ERROR at setup of test_help_option[command run --help -- whatever] ______ @pytest.fixture() def app(): > config = DefaultApplicationConfig() tests/handler/help/test_help_option.py:18: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError ______________ ERROR at setup of test_help_option[command run -h] ______________ @pytest.fixture() def app(): > config = DefaultApplicationConfig() tests/handler/help/test_help_option.py:18: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError _________ ERROR at setup of test_help_option[command run -h --another] _________ @pytest.fixture() def app(): > config = DefaultApplicationConfig() tests/handler/help/test_help_option.py:18: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError ________ ERROR at setup of test_help_option[command run -h -- whatever] ________ @pytest.fixture() def app(): > config = DefaultApplicationConfig() tests/handler/help/test_help_option.py:18: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError __ ERROR at setup of test_help_option_ignored[command run -- whatever --help] __ @pytest.fixture() def app(): > config = DefaultApplicationConfig() tests/handler/help/test_help_option.py:18: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError ____ ERROR at setup of test_help_option_ignored[command run -- whatever -h] ____ @pytest.fixture() def app(): > config = DefaultApplicationConfig() tests/handler/help/test_help_option.py:18: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError ______ ERROR at setup of test_help_option_ignored[command run -- --help] _______ @pytest.fixture() def app(): > config = DefaultApplicationConfig() tests/handler/help/test_help_option.py:18: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError ________________ ERROR at setup of test_render_for_application _________________ @pytest.fixture() def app(): > config = DefaultApplicationConfig() tests/handler/help/test_help_text_handler.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError _ ERROR at setup of test_render_for_application_does_not_display_hidden_commands _ @pytest.fixture() def app(): > config = DefaultApplicationConfig() tests/handler/help/test_help_text_handler.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError __________________ ERROR at setup of test_render_sub_command ___________________ @pytest.fixture() def app(): > config = DefaultApplicationConfig() tests/handler/help/test_help_text_handler.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError ___ ERROR at setup of test_render_parent_command_with_help_command_argument ____ @pytest.fixture() def app(): > config = DefaultApplicationConfig() tests/handler/help/test_help_text_handler.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError _____ ERROR at setup of test_render_sub_command_with_help_command_argument _____ @pytest.fixture() def app(): > config = DefaultApplicationConfig() tests/handler/help/test_help_text_handler.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError _ ERROR at setup of test_render_parent_command_does_not_display_hidden_sub_commands _ @pytest.fixture() def app(): > config = DefaultApplicationConfig() tests/handler/help/test_help_text_handler.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError =================================== FAILURES =================================== _______________________ test_render_better_error_message _______________________ @pytest.mark.skipif( not PY36, reason="Better error messages are only available for Python ^3.6" ) def test_render_better_error_message(): io = BufferedIO() try: raise Exception("Failed") except Exception as e: trace = ExceptionTrace(e) > trace.render(io) tests/ui/components/test_exception_trace.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/clikit/ui/components/exception_trace.py:232: in render return self._render_exception(io, self._exception) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = io = exception = Exception('Failed') def _render_exception(self, io, exception): > from crashtest.inspector import Inspector E ModuleNotFoundError: No module named 'crashtest' src/clikit/ui/components/exception_trace.py:251: ModuleNotFoundError ____________________ test_render_debug_better_error_message ____________________ @pytest.mark.skipif( not PY36, reason="Better error messages are only available for Python ^3.6" ) def test_render_debug_better_error_message(): io = BufferedIO() io.set_verbosity(DEBUG) try: fail() except Exception as e: # Exception trace = ExceptionTrace(e) > trace.render(io) tests/ui/components/test_exception_trace.py:116: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/clikit/ui/components/exception_trace.py:232: in render return self._render_exception(io, self._exception) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = io = exception = Exception('Failed') def _render_exception(self, io, exception): > from crashtest.inspector import Inspector E ModuleNotFoundError: No module named 'crashtest' src/clikit/ui/components/exception_trace.py:251: ModuleNotFoundError ____________ test_render_debug_better_error_message_recursion_error ____________ @pytest.mark.skipif( not PY36, reason="Better error messages are only available for Python ^3.6" ) def test_render_debug_better_error_message_recursion_error(): io = BufferedIO() io.set_verbosity(DEBUG) try: recursion_error() except RecursionError as e: trace = ExceptionTrace(e) > trace.render(io) tests/ui/components/test_exception_trace.py:166: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/clikit/ui/components/exception_trace.py:232: in render return self._render_exception(io, self._exception) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = io = exception = RecursionError('maximum recursion depth exceeded') def _render_exception(self, io, exception): > from crashtest.inspector import Inspector E ModuleNotFoundError: No module named 'crashtest' src/clikit/ui/components/exception_trace.py:251: ModuleNotFoundError ___________________ test_render_verbose_better_error_message ___________________ @pytest.mark.skipif( not PY36, reason="Better error messages are only available for Python ^3.6" ) def test_render_verbose_better_error_message(): io = BufferedIO() io.set_verbosity(VERBOSE) try: fail() except Exception as e: # Exception trace = ExceptionTrace(e) > trace.render(io) tests/ui/components/test_exception_trace.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/clikit/ui/components/exception_trace.py:232: in render return self._render_exception(io, self._exception) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = io = exception = Exception('Failed') def _render_exception(self, io, exception): > from crashtest.inspector import Inspector E ModuleNotFoundError: No module named 'crashtest' src/clikit/ui/components/exception_trace.py:251: ModuleNotFoundError _ test_render_debug_better_error_message_recursion_error_with_multiple_duplicated_frames _ @pytest.mark.skipif( not PY36, reason="Better error messages are only available for Python ^3.6" ) def test_render_debug_better_error_message_recursion_error_with_multiple_duplicated_frames(): io = BufferedIO() io.set_verbosity(VERBOSE) with pytest.raises(RecursionError) as e: first() trace = ExceptionTrace(e.value) > trace.render(io) tests/ui/components/test_exception_trace.py:271: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/clikit/ui/components/exception_trace.py:232: in render return self._render_exception(io, self._exception) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = io = exception = RecursionError('maximum recursion depth exceeded') def _render_exception(self, io, exception): > from crashtest.inspector import Inspector E ModuleNotFoundError: No module named 'crashtest' src/clikit/ui/components/exception_trace.py:251: ModuleNotFoundError ______________________ test_render_can_ignore_given_files ______________________ @pytest.mark.skipif( not PY36, reason="Better error messages are only available for Python ^3.6" ) def test_render_can_ignore_given_files(): import os from .helpers import outer io = BufferedIO() io.set_verbosity(VERBOSE) def call(): def run(): outer() run() with pytest.raises(Exception) as e: call() trace = ExceptionTrace(e.value) helpers_file = os.path.join(os.path.dirname(__file__), "helpers.py") trace.ignore_files_in("^{}$".format(re.escape(helpers_file))) > trace.render(io) tests/ui/components/test_exception_trace.py:303: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/clikit/ui/components/exception_trace.py:232: in render return self._render_exception(io, self._exception) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = io = exception = Exception('Foo') def _render_exception(self, io, exception): > from crashtest.inspector import Inspector E ModuleNotFoundError: No module named 'crashtest' src/clikit/ui/components/exception_trace.py:251: ModuleNotFoundError _______________ test_render_shows_ignored_files_if_in_debug_mode _______________ @pytest.mark.skipif( not PY36, reason="Better error messages are only available for Python ^3.6" ) def test_render_shows_ignored_files_if_in_debug_mode(): import os from .helpers import outer io = BufferedIO() io.set_verbosity(DEBUG) def call(): def run(): outer() run() with pytest.raises(Exception) as e: call() trace = ExceptionTrace(e.value) helpers_file = os.path.join(os.path.dirname(__file__), "helpers.py") trace.ignore_files_in("^{}$".format(re.escape(helpers_file))) > trace.render(io) tests/ui/components/test_exception_trace.py:357: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/clikit/ui/components/exception_trace.py:232: in render return self._render_exception(io, self._exception) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = io = exception = Exception('Foo') def _render_exception(self, io, exception): > from crashtest.inspector import Inspector E ModuleNotFoundError: No module named 'crashtest' src/clikit/ui/components/exception_trace.py:251: ModuleNotFoundError ________________________ test_render_supports_solutions ________________________ @pytest.mark.skipif( not PY36, reason="Better error messages are only available for Python ^3.6" ) def test_render_supports_solutions(): > from crashtest.contracts.provides_solution import ProvidesSolution E ModuleNotFoundError: No module named 'crashtest' tests/ui/components/test_exception_trace.py:415: ModuleNotFoundError _________________________________ test_render __________________________________ io = def test_render(io): > config = ApplicationConfig("test-bin") tests/ui/help/test_application_help.py:11: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = 'test-bin', version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError ______________________________ test_sort_commands ______________________________ io = def test_sort_commands(io): > config = ApplicationConfig("test-bin") tests/ui/help/test_application_help.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = 'test-bin', version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError _____________________________ test_render_version ______________________________ io = def test_render_version(io): > config = ApplicationConfig("test-bin", "1.2.3") tests/ui/help/test_application_help.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = 'test-bin', version = '1.2.3' def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError _______________________ test_render_default_display_name _______________________ io = def test_render_default_display_name(io): > config = ApplicationConfig("test-bin") tests/ui/help/test_application_help.py:109: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = 'test-bin', version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError _________________________ test_render_default_no_name __________________________ io = def test_render_default_no_name(io): > config = ApplicationConfig() tests/ui/help/test_application_help.py:131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError _____________ test_render_global_options_with_preferred_short_name _____________ io = def test_render_global_options_with_preferred_short_name(io): > config = ApplicationConfig() tests/ui/help/test_application_help.py:153: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError _____________ test_render_global_options_with_preferred_long_name ______________ io = def test_render_global_options_with_preferred_long_name(io): > config = ApplicationConfig() tests/ui/help/test_application_help.py:181: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError ___________________________ test_render_description ____________________________ io = def test_render_description(io): > config = ApplicationConfig() tests/ui/help/test_application_help.py:209: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError _________________________________ test_render __________________________________ io = def test_render(io): > config = ApplicationConfig() tests/ui/help/test_command_help.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError ________________________ test_render_required_argument _________________________ io = def test_render_required_argument(io): > config = ApplicationConfig() tests/ui/help/test_command_help.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError ____________________ test_render_option_with_optional_value ____________________ io = def test_render_option_with_optional_value(io): > config = ApplicationConfig() tests/ui/help/test_command_help.py:82: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError _________ test_render_option_with_optional_value_short_name_preferred __________ io = def test_render_option_with_optional_value_short_name_preferred(io): > config = ApplicationConfig() tests/ui/help/test_command_help.py:107: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError __________ test_render_option_with_optional_value_long_name_preferred __________ io = def test_render_option_with_optional_value_long_name_preferred(io): > config = ApplicationConfig() tests/ui/help/test_command_help.py:132: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError ____________________ test_render_option_with_required_value ____________________ io = def test_render_option_with_required_value(io): > config = ApplicationConfig() tests/ui/help/test_command_help.py:162: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError ____________________ test_render_option_with_default_value _____________________ io = def test_render_option_with_default_value(io): > config = ApplicationConfig() tests/ui/help/test_command_help.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError _____________________ test_render_option_with_named_value ______________________ io = def test_render_option_with_named_value(io): > config = ApplicationConfig() tests/ui/help/test_command_help.py:214: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError ____________________ test_render_command_with_sub_commands _____________________ io = def test_render_command_with_sub_commands(io): > config = ApplicationConfig() tests/ui/help/test_command_help.py:245: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError ____________________________ test_sort_sub_commands ____________________________ io = def test_sort_sub_commands(io): > config = ApplicationConfig() tests/ui/help/test_command_help.py:304: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError _________________ test_render_command_with_default_sub_command _________________ io = def test_render_command_with_default_sub_command(io): > config = ApplicationConfig() tests/ui/help/test_command_help.py:336: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError ________________ test_render_command_with_anonymous_sub_command ________________ io = def test_render_command_with_anonymous_sub_command(io): > config = ApplicationConfig() tests/ui/help/test_command_help.py:372: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = name = None, version = None def __init__( self, name=None, version=None ): # type: (Optional[str], Optional[str]) -> None self._name = name self._version = version self._display_name = None self._help = None self._command_configs = [] # type: List[CommandConfig] self._catch_exceptions = True self._terminate_after_run = True self._command_resolver = None self._io_factory = None self._debug = False self._style_set = None self._dispatcher = None self._pre_resolve_hooks = [] # type: List[Callable] if PY36: > from crashtest.solution_providers.solution_provider_repository import ( SolutionProviderRepository, ) E ModuleNotFoundError: No module named 'crashtest' src/clikit/api/config/application_config.py:47: ModuleNotFoundError =============================== warnings summary =============================== src/clikit/utils/string.py:81 /build/python-clikit/src/clikit-0.6.2/src/clikit/utils/string.py:81: DeprecationWarning: invalid escape sequence '\s' words = re.split("\s+", string) src/clikit/api/args/format/command_option.py:47 /build/python-clikit/src/clikit-0.6.2/src/clikit/api/args/format/command_option.py:47: DeprecationWarning: invalid escape sequence '\-' if not re.match("^[a-zA-Z0-9\-]+$", alias): -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ FAILED tests/ui/components/test_exception_trace.py::test_render_better_error_message FAILED tests/ui/components/test_exception_trace.py::test_render_debug_better_error_message FAILED tests/ui/components/test_exception_trace.py::test_render_debug_better_error_message_recursion_error FAILED tests/ui/components/test_exception_trace.py::test_render_verbose_better_error_message FAILED tests/ui/components/test_exception_trace.py::test_render_debug_better_error_message_recursion_error_with_multiple_duplicated_frames FAILED tests/ui/components/test_exception_trace.py::test_render_can_ignore_given_files FAILED tests/ui/components/test_exception_trace.py::test_render_shows_ignored_files_if_in_debug_mode FAILED tests/ui/components/test_exception_trace.py::test_render_supports_solutions FAILED tests/ui/help/test_application_help.py::test_render - ModuleNotFoundEr... FAILED tests/ui/help/test_application_help.py::test_sort_commands - ModuleNot... FAILED tests/ui/help/test_application_help.py::test_render_version - ModuleNo... FAILED tests/ui/help/test_application_help.py::test_render_default_display_name FAILED tests/ui/help/test_application_help.py::test_render_default_no_name - ... FAILED tests/ui/help/test_application_help.py::test_render_global_options_with_preferred_short_name FAILED tests/ui/help/test_application_help.py::test_render_global_options_with_preferred_long_name FAILED tests/ui/help/test_application_help.py::test_render_description - Modu... FAILED tests/ui/help/test_command_help.py::test_render - ModuleNotFoundError:... FAILED tests/ui/help/test_command_help.py::test_render_required_argument - Mo... FAILED tests/ui/help/test_command_help.py::test_render_option_with_optional_value FAILED tests/ui/help/test_command_help.py::test_render_option_with_optional_value_short_name_preferred FAILED tests/ui/help/test_command_help.py::test_render_option_with_optional_value_long_name_preferred FAILED tests/ui/help/test_command_help.py::test_render_option_with_required_value FAILED tests/ui/help/test_command_help.py::test_render_option_with_default_value FAILED tests/ui/help/test_command_help.py::test_render_option_with_named_value FAILED tests/ui/help/test_command_help.py::test_render_command_with_sub_commands FAILED tests/ui/help/test_command_help.py::test_sort_sub_commands - ModuleNot... FAILED tests/ui/help/test_command_help.py::test_render_command_with_default_sub_command FAILED tests/ui/help/test_command_help.py::test_render_command_with_anonymous_sub_command ERROR tests/test_console_aplication.py::test_create - ModuleNotFoundError: No... ERROR tests/test_console_aplication.py::test_get_commands - ModuleNotFoundErr... ERROR tests/test_console_aplication.py::test_get_commands_excludes_disabled_commands ERROR tests/test_console_aplication.py::test_get_command - ModuleNotFoundErro... ERROR tests/test_console_aplication.py::test_get_command_fails_if_command_not_found ERROR tests/test_console_aplication.py::test_has_command - ModuleNotFoundErro... ERROR tests/test_console_aplication.py::test_has_commands - ModuleNotFoundErr... ERROR tests/test_console_aplication.py::test_has_no_commands - ModuleNotFound... ERROR tests/test_console_aplication.py::test_get_named_commands - ModuleNotFo... ERROR tests/test_console_aplication.py::test_has_named_commands - ModuleNotFo... ERROR tests/test_console_aplication.py::test_has_no_named_commands - ModuleNo... ERROR tests/test_console_aplication.py::test_get_default_commands - ModuleNot... ERROR tests/test_console_aplication.py::test_has_no_default_commands - Module... ERROR tests/test_console_aplication.py::test_has_default_commands - ModuleNot... ERROR tests/test_console_aplication.py::test_fails_if_no_command_name - Modul... ERROR tests/test_console_aplication.py::test_fails_if_duplicate_command_name ERROR tests/test_console_aplication.py::test_run_command[list-] - Mod... ERROR tests/test_console_aplication.py::test_run_command[-] - ModuleN... ERROR tests/test_console_aplication.py::test_run_command[server add-] ERROR tests/test_console_aplication.py::test_run_command[server-] - M... ERROR tests/test_console_aplication.py::test_run_with_keyboard_interrupt - Mo... ERROR tests/handler/help/test_help_option.py::test_help_option[command run --help] ERROR tests/handler/help/test_help_option.py::test_help_option[command run --help --another] ERROR tests/handler/help/test_help_option.py::test_help_option[command run --help -- whatever] ERROR tests/handler/help/test_help_option.py::test_help_option[command run -h] ERROR tests/handler/help/test_help_option.py::test_help_option[command run -h --another] ERROR tests/handler/help/test_help_option.py::test_help_option[command run -h -- whatever] ERROR tests/handler/help/test_help_option.py::test_help_option_ignored[command run -- whatever --help] ERROR tests/handler/help/test_help_option.py::test_help_option_ignored[command run -- whatever -h] ERROR tests/handler/help/test_help_option.py::test_help_option_ignored[command run -- --help] ERROR tests/handler/help/test_help_text_handler.py::test_render_for_application ERROR tests/handler/help/test_help_text_handler.py::test_render_for_application_does_not_display_hidden_commands ERROR tests/handler/help/test_help_text_handler.py::test_render_sub_command ERROR tests/handler/help/test_help_text_handler.py::test_render_parent_command_with_help_command_argument ERROR tests/handler/help/test_help_text_handler.py::test_render_sub_command_with_help_command_argument ERROR tests/handler/help/test_help_text_handler.py::test_render_parent_command_does_not_display_hidden_sub_commands ====== 28 failed, 326 passed, 3 skipped, 2 warnings, 36 errors in 14.90s ======= ==> ERROR: A failure occurred in check().  Aborting...