code: def test_wandb_online_init(self):
      with patch("poutyne.framework.wandb_logger.wandb") as wandb_patch:
          wandb_patch.run = None
          WandBLogger(name=self.a_name)
          create_experiment_call = [
              call.init(
                  name=self.a_name,
                  group=None,
                  config=None,
                  project=None,
                  id=None,
                  dir=None,
                  resume="allow",
                  anonymous=self.anonymous_lut.get(None, None),
              )
          ]
          self.assertIsNone(os.getenv("WANDB_MODE"))
          wandb_patch.assert_has_calls(create_experiment_call)
  
imports: import os
  import warnings
  from tempfile import TemporaryDirectory, TemporaryFile
  from unittest import TestCase, main, skipIf
  from unittest.mock import MagicMock, call, patch
  import torch
  import torch.nn
  from poutyne import Callback, Model, ModelCheckpoint, WandBLogger
  from tests.framework.tools import some_data_generator
label_desc: Use image node_id 2 for calling the WandBLoggerTest obj's underlying member method code with example usage: obj.test_wandb_online_init() without return types