Browse Source

Make tests pass, close #127.

build_radio_group() started returning results not wrapped
in a list in 8103314, change the test to reflect that.
pull/128/head
Christoph Buchner 9 years ago
parent
commit
0b59582d5f
1 changed files with 1 additions and 1 deletions
  1. 2
      gooey/tests/argparse_to_json_unittest.py

2
gooey/tests/argparse_to_json_unittest.py

@ -148,7 +148,7 @@ def test_is_counter(empty_parser):
def test_mutually(exclusive_group):
target_arg = find_arg_by_option(exclusive_group, '-i')
json_result = build_radio_group(exclusive_group)[0]
json_result = build_radio_group(exclusive_group)
data = json_result['data'][0]
assert 'RadioGroup' == json_result['type']

Loading…
Cancel
Save