xmltodict presents a response with only one <CompleteSuggestion> element as just a plain OrderedDict, without any list wrapping it. This PR fixes the behavior, adds an @example test covering a query that currently returns only one result, and updates the VCR cassettes for all @example tests.
As a bonus, which example should appear in .help suggest is now explicitly specified with user_help=True.
xmltodict
presents a response with only one<CompleteSuggestion>
element as just a plain OrderedDict, without any list wrapping it. This PR fixes the behavior, adds an@example
test covering a query that currently returns only one result, and updates the VCR cassettes for all@example
tests.As a bonus, which example should appear in
.help suggest
is now explicitly specified withuser_help=True
.Checklist
make qa
(runsmake lint
andmake test
)make lint
run that doesn't appear in our CI.