Tests #2420
Annotations
10 errors
Tests:
click_extra/tests/test_parameters.py#L693
test_recurse_subcommands
AssertionError: assert '╭───────────...──────────╯\n' == '╭───────────...──────────╯\n'
Skipping 59 identical leading characters in diff, use -v to show
- ──────────────────┬─────────────────────────────────────────┬─────────────────────┬───────────────────────────┬─────────────┬────────┬─────────┬──────────────────┬───────────────────────────────────────────────────────────────────┬─────────┬───────┬─────────────╮
+ ──────────┬─────────────────────────────────────────┬─────────────────────┬───────────────────────────┬─────────────┬────────┬─────────┬──────────────────┬───────────────────────────────────────────────────────────────┬─────────┬───────┬─────────────╮
- │ ID │ Class │ Spec. │ Param type │ Python type │ Hidden │ Exposed │ Allowed in conf? │ Env. vars. │ Default │ Value │ Source │
? ^^^^^^^^^ ^^^^^
+ │ ID │ Class │ Spec. │ Param type │ Python type │ Hidden │ Exposed │ Allowed in conf? │ Env. vars. │ Default │ Value │ Source │
? ^ ^
- ├────────────────────────────────────────────────────────────────────────────┼─────────────────────────────────────────┼─────────────────────┼───────────────────────────┼─────────────┼────────┼─────────┼──────────────────┼───────────────────────────────────────────────────────────────────┼─────────┼───────┼─────────────┤
+ ├────────────────────────────────────────────────────────────────────┼─────────────────────────────────────────┼─────────────────────┼───────────────────────────┼─────────────┼────────┼─────────┼──────────────────┼───────────────────────────────────────────────────────────────┼─────────┼───────┼─────────────┤
- │ show-params-cli-main.show_params │ click_extra.parameters.ShowParamsOption │ --show-params │ click.types.BoolParamType │ bool │ ✘ │ ✘ │ │ SHOW_PARAMS_CLI_MAIN_SHOW_PARAMS │ False │ True │ COMMANDLINE │
? ^^^^^^^^^ ^^^^^
+ │ show-params-cli-main.show_params │ click_extra.parameters.ShowParamsOption │ --show-params │ click.types.BoolParamType │ bool │ ✘ │ ✘ │ │ SHOW_PARAMS_CLI_MAIN_SHOW_PARAMS │ False │ True │ COMMANDLINE │
? ^ ^
- │ show-params-cli-main.show-params-sub-cmd.show-params-sub-sub-cmd.int_param │ cloup._params.Option │ --int-param INTEGER │ click.types.IntParamType │ int │ ✘ │ ✓ │ │ SHOW_PARAMS_SUB_SUB_CMD_INT_PARAM, SHOW_PARAMS_CLI_MAIN_INT_PARAM │ 10 │ 1
|
Tests:
click_extra/tests/test_commands.py#L377
test_option_group_integration
AssertionError: assert None
+ where None = <function fullmatch at 0x7f828d7a39d0>('Usage: command-cli2 \\[OPTIONS\\] COMMAND \\[ARGS\\]...\\n\\nGroup 1:\\n -a, --opt1 TEXT\\n -b, --opt2 TEXT\\n\\nOt... the version and exit.\\n -h, --help Show this message and exit.\\n\\nCommands:\\n default-command\\n', 'Usage: command-cli2 [OPTIONS] COMMAND [ARGS]...\n\nGroup 1:\n -a, --opt1 TEXT\n -b, --opt2 TEXT\n\nOther options:\n... Show the version and exit.\n -h, --help Show this message and exit.\n\nCommands:\n default\n')
+ where <function fullmatch at 0x7f828d7a39d0> = re.fullmatch
+ and 'Usage: command-cli2 [OPTIONS] COMMAND [ARGS]...\n\nGroup 1:\n -a, --opt1 TEXT\n -b, --opt2 TEXT\n\nOther options:\n... Show the version and exit.\n -h, --help Show this message and exit.\n\nCommands:\n default\n' = <ExtraResult okay>.stdout
|
Tests:
click_extra/tests/test_commands.py#L73
test_module_root_declarations
AssertionError: assert {'Abort', 'Ar...rameter', ...} <= {'Abort', 'Ar...rameter', ...}
Extra items in the left set:
'annotations'
|
Tests:
click_extra/tests/test_config.py#L550
test_conf_file_overridden_by_cli_param[yaml]
assert 2 == 0
+ where 2 = <ExtraResult SystemExit(2)>.exit_code
|
Tests:
click_extra/tests/test_config.py#L455
test_conf_file_overrides_defaults[toml]
assert 2 == 0
+ where 2 = <ExtraResult SystemExit(2)>.exit_code
|
Tests:
click_extra/tests/test_config.py#L506
test_auto_env_var_conf[json]
assert 2 == 0
+ where 2 = <ExtraResult SystemExit(2)>.exit_code
|
Tests:
click_extra/tests/test_config.py#L550
test_conf_file_overridden_by_cli_param[ini]
assert 2 == 0
+ where 2 = <ExtraResult SystemExit(2)>.exit_code
|
Tests:
click_extra/tests/test_config.py#L506
test_auto_env_var_conf[toml]
assert 2 == 0
+ where 2 = <ExtraResult SystemExit(2)>.exit_code
|
Tests:
click_extra/tests/test_config.py#L455
test_conf_file_overrides_defaults[xml]
assert 2 == 0
+ where 2 = <ExtraResult SystemExit(2)>.exit_code
|
Tests:
click_extra/tests/test_config.py#L329
test_unset_conf_debug_message
assert 2 == 0
+ where 2 = <ExtraResult SystemExit(2)>.exit_code
|
Loading