summaryrefslogtreecommitdiff
path: root/tests/test_completion.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2020-11-12 16:01:59 -0500
committerGitHub <noreply@github.com>2020-11-12 16:01:59 -0500
commitbaf0392007659d069a7fed543335ac5e0e937556 (patch)
tree5dc896dd8b85b25545a77cd71f1d953fa967ed46 /tests/test_completion.py
parentd4dc6b6a98fdb44b08701a3826ee88b6c22b72fd (diff)
parent59528a925300d67d05b5504441e0a4d7ea072acc (diff)
downloadcmd2-git-baf0392007659d069a7fed543335ac5e0e937556.tar.gz
Merge pull request #1015 from python-cmd2/settable_hint
Setting always_show_hint to True is not working when completing Settables
Diffstat (limited to 'tests/test_completion.py')
-rwxr-xr-xtests/test_completion.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_completion.py b/tests/test_completion.py
index 48a055d0..db243f48 100755
--- a/tests/test_completion.py
+++ b/tests/test_completion.py
@@ -972,6 +972,7 @@ def test_complete_set_value(cmd2_app):
first_match = complete_tester(text, line, begidx, endidx, cmd2_app)
assert first_match == "SUCCESS "
+ assert cmd2_app.completion_hint == "Hint:\n value a settable param\n"
def test_complete_set_value_invalid_settable(cmd2_app, capsys):
text = ''