code: def test_01_01_folder_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_OUTPUT_SUBFOLDER_NAME,
              "Default output directory sub-folder",
          ),
      ):
          assert value in list(
              cellprofiler_core.preferences.FOLDER_CHOICE_TRANSLATIONS.keys()
          ), ("%s not in dictionary" % value)
          assert (
              expected
              == cellprofiler_core.preferences.FOLDER_CHOICE_TRANSLATIONS[
                  value
              ]
          )
  
file_path: CellProfiler/tests/core/preferences/test_preferences.py
imports: import tempfile
  import unittest
  import cellprofiler_core.preferences
label_desc: Use image node_id 1 for calling the TestPreferences obj's underlying member method code with example usage: obj.test_01_01_folder_translations() without return types