Skip to content

Commit

Permalink
fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tmbo committed Dec 25, 2021
1 parent bbb69ae commit 81b2ceb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/prompts/test_checkbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,13 @@ def test_select_first_choice_with_token_title():

def test_select_disabled_choices_if_they_are_default():
message = "Foo message"
kwargs = {"choices": [
kwargs = {
"choices": [
Choice("foo", checked=True),
Choice("bar", disabled="unavailable", checked=True),
Choice("baz", disabled="unavailable"),
]}
]
}
text = KeyInputs.ENTER + "\r"

result, cli = feed_cli_with_input("checkbox", message, text, **kwargs)
Expand Down

0 comments on commit 81b2ceb

Please sign in to comment.