code: def test_01_02_slot_translations(self):
      for expected, value in (
          (
              cellprofiler_core.preferences.ABSOLUTE_FOLDER_NAME,
              cellprofiler_core.preferences.ABSOLUTE_FOLDER_NAME,
          ),
          (
              cellprofiler_core.preferences.DEFAULT_INPUT_FOLDER_NAME,
              cellprofiler_core.preferences.DEFAULT_INPUT_FOLDER_NAME,
          ),
          (
              cellprofiler_core.preferences.DEFAULT_OUTPUT_FOLDER_NAME,
              cellprofiler_core.preferences.DEFAULT_OUTPUT_FOLDER_NAME,
          ),
          (
              cellprofiler_core.preferences.DEFAULT_INPUT_SUBFOLDER_NAME,
              cellprofiler_core.preferences.DEFAULT_INPUT_SUBFOLDER_NAME,
          ),
          (
              cellprofiler_core.preferences.DEFAULT_OUTPUT_SUBFOLDER_NAME,
              cellprofiler_core.preferences.DEFAULT_OUTPUT_SUBFOLDER_NAME,
          ),
          (
              cellprofiler_core.preferences.ABSOLUTE_FOLDER_NAME,
              "Absolute path elsewhere",
          ),
          (
              cellprofiler_core.preferences.DEFAULT_INPUT_FOLDER_NAME,
              "Default Input Folder",
          ),
          (
              cellprofiler_core.preferences.DEFAULT_OUTPUT_FOLDER_NAME,
              "Default Output Folder",
          ),
          (
              cellprofiler_core.preferences.DEFAULT_INPUT_SUBFOLDER_NAME,
              "Default input directory sub-folder",
          ),
          (
              cellprofiler_core.preferences.DEFAULT_INPUT_SUBFOLDER_NAME,
              "Default Input Folder sub-folder",
          ),
          (
              cellprofiler_core.preferences.DEFAULT_OUTPUT_SUBFOLDER_NAME,
              "Default output directory sub-folder",
          ),
          (
              cellprofiler_core.preferences.DEFAULT_OUTPUT_SUBFOLDER_NAME,
              "Default Output Folder sub-folder",
          ),
          (
              cellprofiler_core.preferences.DEFAULT_INPUT_FOLDER_NAME,
              "Default Image Directory",
          ),
      ):
          for i in range(3):
              setting_values = ["foo", "bar", "baz"]
              setting_values[i] = value
              assert (
                  cellprofiler_core.preferences.standardize_default_folder_names(
                      setting_values, i
                  )[
                      i
                  ]
                  == expected
              )
  
file_path: CellProfiler/tests/core/preferences/test_preferences.py
imports: import tempfile
  import unittest
  import cellprofiler_core.preferences
label_desc: Use image node_id 2 for calling the TestPreferences obj's underlying member method code with example usage: obj.test_01_02_slot_translations() without return types