class_docstr: Test the interaction with the configuration file.
class_docstr_tok: ["Test","the","interaction","with","the","configuration","file","."]
docstr: Test that the default configuration file can be loaded
  from an absolute path.
docstr_tok: ["Test","that","the","default","configuration","file","can","be","loaded","from","an","absolute","path","."]
code: def test_loading_absolute_path(
      self, monkeypatch, default_config_toml
  ):
      """Test that the default configuration file can be loaded
      from an absolute path."""
      config_toml, config_path = default_config_toml
  
      os.curdir = "None"
      monkeypatch.setenv("PENNYLANE_CONF", "")
  
      config = Configuration(
          name=os.path.join(os.getcwd(), config_path)
      )
  
      assert config._config == config_toml
      assert config.path == os.path.join(os.getcwd(), config_path)
  
imports: import os
  import pytest
  import toml
  import pennylane
  from pennylane import Configuration
label_desc: Use image node_id 3 for calling the TestConfigurationFileInteraction obj's underlying member method code with example usage: obj.test_loading_absolute_path(monkeypatch, default_config_toml) without return types