docstr: Check the default of ./nemo_experiments/default/datetime works as intended
docstr_tok: ["Check","the","default","of",".\/nemo_experiments\/default\/datetime","works","as","intended"]
code: def test_default_log_dir(self):
      """Check the default of ./nemo_experiments/default/datetime works as intended"""
      test_trainer = pl.Trainer(
          accelerator="cpu", enable_checkpointing=False, logger=False
      )
  
      log_dir = exp_manager(
          test_trainer,
          {
              "create_tensorboard_logger": False,
              "create_checkpoint_callback": False,
          },
      )
      assert (log_dir / "..").resolve() == Path(
          "./nemo_experiments/default/"
      ).resolve()
      assert Path("./nemo_experiments").exists()
      assert Path("./nemo_experiments/default/").exists()
      sub_dirs = [
          x
          for x in Path("./nemo_experiments/default/").iterdir()
          if x.is_dir()
      ]
      assert len(sub_dirs) == 1
      assert re.match(
          r"[0-9]{4}-[0-9]{2}-[0-9]{2}_[0-9]{2}-[0-9]{2}-[0-9]{2}",
          sub_dirs[0].name,
      )
  
imports: import math
  import os
  import re
  from pathlib import Path
  from typing import Any
  import pytest
  import pytorch_lightning
  import torch
  from omegaconf import OmegaConf
  from omegaconf.errors import OmegaConfBaseException
  from pytorch_lightning import Callback
  from pytorch_lightning.loops import _TrainingEpochLoop
  from nemo.constants import NEMO_ENV_VARNAME_VERSION
  from nemo.core.classes import ModelPT
  from nemo.utils.exp_manager import CheckpointMisconfigurationError, LoggerMisconfigurationError, NotFoundError, exp_manager
label_desc: Use image node_id 4 for calling the TestExpManager obj's underlying member method code with example usage: obj.test_default_log_dir() without return types