summaryrefslogtreecommitdiff
path: root/tests/test_commands.py
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2020-03-06 14:38:03 -0800
committerDavid Lord <davidism@gmail.com>2020-03-06 14:38:03 -0800
commit5f75f9ec38ccf2ddac4e6b92cc07fec6d9b1b7e0 (patch)
treeaa8b7c6a539db2615e659ae81fa42af7527a78ea /tests/test_commands.py
parent93ba3ba112d2f8ba7bdd8b231e510f74dd0b037e (diff)
downloadclick-5f75f9ec38ccf2ddac4e6b92cc07fec6d9b1b7e0.tar.gz
apply flake8
Diffstat (limited to 'tests/test_commands.py')
-rw-r--r--tests/test_commands.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_commands.py b/tests/test_commands.py
index d53b724..bcb30bd 100644
--- a/tests/test_commands.py
+++ b/tests/test_commands.py
@@ -62,7 +62,8 @@ def test_auto_shorthelp(runner):
assert (
re.search(
r"Commands:\n\s+"
- r"long\s+This is a long text that is too long to show as short help\.\.\.\n\s+"
+ r"long\s+This is a long text that is too long to show as short help"
+ r"\.\.\.\n\s+"
r"short\s+This is a short text\.\n\s+"
r"special-chars\s+Login and store the token in ~/.netrc\.\s*",
result.output,
@@ -294,7 +295,7 @@ def test_deprecated_in_help_messages(runner):
def test_deprecated_in_invocation(runner):
@click.command(deprecated=True)
def deprecated_cmd():
- debug()
+ pass
result = runner.invoke(deprecated_cmd)
assert "DeprecationWarning:" in result.output