def test_parser_without_subparser_recieves_root_entry(complete_parser):
 result = convert(complete_parser)
 assert ('primary' in result['widgets'])

def test_parser_without_subparser_recieves_root_entry ( complete_parser ) : result = convert ( complete_parser ) assert ( 'primary' in result [ 'widgets' ] )
non-subparser setups should receive a default root key called primary .