def METHOD_NAME(self, db, runner, cmd, output):
    result = runner.invoke(show.cli.commands[cmd], [], obj=db)
    logger.debug("\n" + result.output)
    logger.debug(result.exit_code)
    assert result.exit_code == SUCCESS
    assert result.output == output