code: def test_tensorboard(model_name):
      logname = model_name.upper()
      algo, env_id = MODEL_DICT[model_name]
      model = algo(
          "MlpPolicy",
          env_id,
          verbose=1,
          tensorboard_log=TENSORBOARD_DIR,
      )
      model.learn(N_STEPS)
      model.learn(N_STEPS, reset_num_timesteps=False)
  
      assert os.path.isdir(TENSORBOARD_DIR + logname + "_1")
      assert not os.path.isdir(TENSORBOARD_DIR + logname + "_2")
  
imports: import os
  import shutil
  import pytest
  from stable_baselines import A2C, ACER, ACKTR, DQN, DDPG, PPO1, PPO2, SAC, TD3, TRPO
label_desc: Use image node_id 1 for calling a global function with example usage: test_tensorboard(model_name) without return types