code: def test_load_all(
      pkl_experiments_and_benchmarks, testing_helpers, caplog
  ):
      """Test both /load and /import-status"""
      with caplog.at_level(logging.INFO):
          with LoadContext() as ctx:
              # Make sure database is empty
              testing_helpers.check_empty_db(ctx.db)
  
              # Generate body and header for request /load
              body, headers = _gen_multipart_form_for_load(
                  pkl_experiments_and_benchmarks, "ignore"
              )
  
              # Test /load and /import-status 5 times with resolve=ignore
              # to check if data are effectively ignored on conflict
              for _ in range(5):
                  _check_load_and_import_status(
                      ctx.pickled_client, headers, body
                  )
                  # Check expected data in database
                  # Count should not change as data are ignored on conflict every time
                  testing_helpers.assert_tested_db_structure(ctx.db)
  
imports: import logging
  import os
  import random
  import string
  import time
  import pytest
  from falcon import testing
  from orion.core.io.database.pickleddb import PickledDB
  from orion.core.utils import generate_temporary_file
  from orion.serving.webapi import WebApi
  from orion.storage.backup import load_database
  from orion.storage.base import setup_storage
label_desc: Use image node_id 11 for calling a global function with example usage: test_load_all(pkl_experiments_and_benchmarks, testing_helpers, caplog) without return types