From 0b59582d5f9d08928dd1c5d5b605ad072c3727ab Mon Sep 17 00:00:00 2001 From: Christoph Buchner Date: Mon, 30 Nov 2015 19:14:05 +0100 Subject: [PATCH] Make tests pass, close #127. build_radio_group() started returning results not wrapped in a list in 8103314, change the test to reflect that. --- gooey/tests/argparse_to_json_unittest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gooey/tests/argparse_to_json_unittest.py b/gooey/tests/argparse_to_json_unittest.py index 0cc080d..71be3b6 100644 --- a/gooey/tests/argparse_to_json_unittest.py +++ b/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']