def METHOD_NAME(self, method):
    # Create a temporary directory
    self._test_dir = pathlib.Path(tempfile.mkdtemp())
    self._test_config_path = os.path.join(self._test_dir, "config.ini")
    cfg_string = """