code: def test_multiple_flavors_are_correctly_updated():
      src = """
  sklearn:
    package_info:
      pip_release: sklearn
    autologging:
      maximum: "0.0.1"
  xgboost:
    package_info:
      pip_release: xgboost
    autologging:
      maximum: "0.1.1"
  """
      mock_responses = {
          "sklearn": MockResponse.from_versions(["0.0.2"]),
          "xgboost": MockResponse.from_versions(["0.1.2"]),
      }
      src_expected = """
  sklearn:
    package_info:
      pip_release: sklearn
    autologging:
      maximum: "0.0.2"
  xgboost:
    package_info:
      pip_release: xgboost
    autologging:
      maximum: "0.1.2"
  """
      run_test(src, src_expected, mock_responses)
  
file_path: mlflow/tests/dev/test_update_ml_package_versions.py
imports: import json
  import re
  from pathlib import Path
  from unittest import mock
  import pytest
  from dev import update_ml_package_versions
label_desc: Use image node_id 3 for calling a global function with example usage: test_multiple_flavors_are_correctly_updated() without return types