summaryrefslogtreecommitdiff
path: root/tests/test_completion.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2020-11-12 13:26:19 -0500
committerKevin Van Brunt <kmvanbrunt@gmail.com>2020-11-12 13:26:19 -0500
commit59528a925300d67d05b5504441e0a4d7ea072acc (patch)
tree5dc896dd8b85b25545a77cd71f1d953fa967ed46 /tests/test_completion.py
parentd4dc6b6a98fdb44b08701a3826ee88b6c22b72fd (diff)
downloadcmd2-git-settable_hint.tar.gz
Fixed bug where setting always_show_hint=True did not show a hint when completing Settablessettable_hint
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 = ''