diff --git a/lnt/tests/compile.py b/lnt/tests/compile.py --- a/lnt/tests/compile.py +++ b/lnt/tests/compile.py @@ -993,7 +993,7 @@ # FIXME: an equivalent to argparse's add_argument_group is not implemented # on click. Need to review it when such functionality is available. # https://github.com/pallets/click/issues/373 -@click.command("compile", help=usage_info, short_help=__doc__) +@click.command("compile", help=usage_info, short_help=str(__doc__)) @click.argument("label", default=platform.uname()[1], required=False, type=click.UNPROCESSED) @click.option("-s", "--sandbox", "sandbox_path", required=True, diff --git a/lnt/tests/nt.py b/lnt/tests/nt.py --- a/lnt/tests/nt.py +++ b/lnt/tests/nt.py @@ -1842,7 +1842,7 @@ # FIXME: an equivalent to argparse's add_argument_group is not implemented # on click. Need to review it when such functionality is available. # https://github.com/pallets/click/issues/373 -@click.command("nt", help=usage_info, short_help=__doc__) +@click.command("nt", help=usage_info, short_help=str(__doc__)) @click.argument("label", default=platform.uname()[1], required=False, type=click.UNPROCESSED) # Sandbox diff --git a/lnt/tests/test_suite.py b/lnt/tests/test_suite.py --- a/lnt/tests/test_suite.py +++ b/lnt/tests/test_suite.py @@ -1024,7 +1024,7 @@ return lnt.util.ImportData.no_submit() -@click.command("test-suite", short_help=__doc__) +@click.command("test-suite", short_help=str(__doc__)) @click.argument("label", default=platform.uname()[1], required=False, type=click.UNPROCESSED) # Sandbox options