class_docstr: Tests for backward compatibility between Oríon versions.
class_docstr_tok: ["Tests","for","backward","compatibility","between","Or\u00edon","versions","."]
docstr: Verify init_only command
docstr_tok: ["Verify","init_only","command"]
code: def test_init_only(self):
      """Verify init_only command"""
      print(
          execute(
              " ".join(
                  [
                      "orion",
                      "init_only",
                      "--name",
                      "init-cmdline",
                      "--branch-to",
                      "init-cmdline-branch",
                  ]
              )
          )
      )
  
imports: import os
  import shutil
  import subprocess
  import pytest
  from pymongo import MongoClient
  import orion.core.cli
  import orion.core.io.experiment_builder
  from orion.client import create_experiment
  from orion.core.io.database import database_factory
  from orion.storage.base import storage_factory
label_desc: Use image node_id 7 for calling the TestBackwardCompatibility obj's underlying member method code with example usage: obj.test_init_only() without return types