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 the current directory.
docstr_tok: ["Test","that","the","default","configuration","file","can","be","loaded","from","the","current","directory","."]
code: def test_loading_current_directory(
      self, monkeypatch, default_config_toml
  ):
      """Test that the default configuration file can be loaded
      from the current directory."""
      config_toml, config_path = default_config_toml
  
      monkeypatch.chdir(".")
      monkeypatch.setenv("PENNYLANE_CONF", "")
      config = Configuration(name=config_path)
  
      assert config.path == os.path.join(os.curdir, config_path)
      assert config._config == config_toml
  
imports: import os
  import pytest
  import toml
  import pennylane
  from pennylane import Configuration
label_desc: Use image node_id 1 for calling the TestConfigurationFileInteraction obj's underlying member method code with example usage: obj.test_loading_current_directory(monkeypatch, default_config_toml) without return types