docstr: Test CometLoggerCallback._configure_experiment_defaults.
docstr_tok: ["Test","CometLoggerCallback._configure_experiment_defaults","."]
code: def test_configure_experiment_defaults(self):
      """Test CometLoggerCallback._configure_experiment_defaults."""
      logger = self.logger
  
      # Test that autologging features are properly disabled
      exclude = CometLoggerCallback._exclude_autolog
      for option in exclude:
          self.assertFalse(logger.experiment_kwargs.get(option))
      del logger
  
      # Don't disable logging if user overwrites defaults by passing in args
      for include_option in exclude:
          # This unpacks to become e.g. CometLoggerCallback(log_env_cpu=True)
          logger = CometLoggerCallback(**{include_option: True})
          for option in exclude:
              if option == include_option:
                  self.assertTrue(logger.experiment_kwargs.get(option))
              else:
                  self.assertFalse(logger.experiment_kwargs.get(option))
  
imports: import unittest
  from unittest.mock import patch
  from ray.air.integrations.comet import CometLoggerCallback
  from collections import namedtuple
label_desc: Use image node_id 3 for calling the InitializationTests obj's underlying member method code with example usage: obj.test_configure_experiment_defaults() without return types