code: def test_export_labels(label_mappings):
      for case in label_mappings:
          ls_prediction = fouls.export_label_to_label_studio(
              case["fiftyone"]
          )
          expected = case["labelstudio"]
  
          if isinstance(expected, (list, tuple)):
              for pred, exp in zip(ls_prediction, expected):
                  _assert_predictions_equal(pred, exp["value"])
          else:
              _assert_predictions_equal(
                  ls_prediction, expected["value"]
              )
  
imports: import os
  import random
  import numpy
  import pytest
  import fiftyone
  import fiftyone.zoo
  import fiftyone.utils.labelstudio
  import fiftyone.core.labels
label_desc: Use image node_id 6 for calling a global function with example usage: test_export_labels(label_mappings) without return types