diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-10-26 19:43:45 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-10-26 19:46:53 +0100 |
| commit | d8c5b329d2258a5b064e75df37e2c3764a2bc5b7 (patch) | |
| tree | a587797e9e528711b2e700eba2533035dcc679a7 /dev-python/click-plugins/files/click-plugins-1.1.1.2-click82.patch | |
| parent | bc4528e54f8faba788c80f08229a4da672ad3700 (diff) | |
| download | gentoo-d8c5b329d2258a5b064e75df37e2c3764a2bc5b7.tar.gz gentoo-d8c5b329d2258a5b064e75df37e2c3764a2bc5b7.tar.bz2 gentoo-d8c5b329d2258a5b064e75df37e2c3764a2bc5b7.zip | |
dev-python/click-plugins: Bump to 1.1.1.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/click-plugins/files/click-plugins-1.1.1.2-click82.patch')
| -rw-r--r-- | dev-python/click-plugins/files/click-plugins-1.1.1.2-click82.patch | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/click-plugins/files/click-plugins-1.1.1.2-click82.patch b/dev-python/click-plugins/files/click-plugins-1.1.1.2-click82.patch new file mode 100644 index 000000000000..f6e8024bb04f --- /dev/null +++ b/dev-python/click-plugins/files/click-plugins-1.1.1.2-click82.patch @@ -0,0 +1,58 @@ +diff --git a/tests/test_plugins.py b/tests/test_plugins.py +index 935f37a..26549ef 100644 +--- a/tests/test_plugins.py ++++ b/tests/test_plugins.py +@@ -78,7 +78,7 @@ def test_registered(): + def test_register_and_run(runner): + + result = runner.invoke(good_cli) +- assert result.exit_code == 0 ++ assert result.exit_code == 2 + + for ep in iter_entry_points('_test_click_plugins.test_plugins'): + cmd_result = runner.invoke(good_cli, [ep.name, 'something']) +@@ -89,7 +89,7 @@ def test_register_and_run(runner): + def test_broken_register_and_run(runner): + + result = runner.invoke(broken_cli) +- assert result.exit_code == 0 ++ assert result.exit_code == 2 + assert u'\U0001F4A9' in result.output or u'\u2020' in result.output + + for ep in iter_entry_points('_test_click_plugins.broken_plugins'): +@@ -108,7 +108,7 @@ def test_group_chain(runner): + pass + + result = runner.invoke(good_cli) +- assert result.exit_code == 0 ++ assert result.exit_code == 2 + assert sub_cli.name in result.output + for ep in iter_entry_points('_test_click_plugins.test_plugins'): + assert ep.name in result.output +@@ -121,7 +121,7 @@ def test_group_chain(runner): + pass + + result = runner.invoke(good_cli, ['sub-cli-plugins']) +- assert result.exit_code == 0 ++ assert result.exit_code == 2 + for ep in iter_entry_points('_test_click_plugins.test_plugins'): + assert ep.name in result.output + +@@ -142,7 +142,7 @@ def test_exception(): + + def test_broken_register_and_run_with_help(runner): + result = runner.invoke(broken_cli) +- assert result.exit_code == 0 ++ assert result.exit_code == 2 + assert u'\U0001F4A9' in result.output or u'\u2020' in result.output + + for ep in iter_entry_points('_test_click_plugins.broken_plugins'): +@@ -153,7 +153,7 @@ def test_broken_register_and_run_with_help(runner): + + def test_broken_register_and_run_with_args(runner): + result = runner.invoke(broken_cli) +- assert result.exit_code == 0 ++ assert result.exit_code == 2 + assert u'\U0001F4A9' in result.output or u'\u2020' in result.output + + for ep in iter_entry_points('_test_click_plugins.broken_plugins'): |
