def METHOD_NAME(context_object):
    runner = CliRunner()
    context_object["PROJECT_IS_INITIALIZED"] = False
    result = runner.invoke(commands.generate, ["source", "uuid", "my_source"], obj=context_object)
    assert result.exit_code == 1
    assert result.output == "Error: Your octavia project is not initialized, please run 'octavia init' before running this command.\n"