code: def test_load_call_unload_extension(client, extension1):
      """
      Ensure extensions can be loaded, run, and unloaded.
      """
      from cugraph_service_client.exceptions import CugraphServiceError
  
      extension_dir = extension1
  
      # Loading
      ext_mod_names = client.load_extensions(extension_dir)
  
      # Running
      # my_nines_function in extension1 returns a list of two lists of 9's with
      # sizes and dtypes based on args.
      results = client.call_extension(
          "my_nines_function", 33, "int32", 21, "float64"
      )
      assert len(results) == 2
      assert len(results[0]) == 33
      assert len(results[1]) == 21
      assert type(results[0][0]) == int
      assert type(results[1][0]) == float
      assert results[0][0] == 9
      assert results[1][0] == 9.0
  
      # Unloading
      for mod_name in ext_mod_names:
          client.unload_extension_module(mod_name)
  
      with pytest.raises(CugraphServiceError):
          client.call_extension(
              "my_nines_function", 33, "int32", 21, "float64"
          )
  
imports: from collections.abc import Sequence
  from pathlib import Path
  import pytest
  from .None import data
label_desc: Use image node_id 13 for calling a global function with example usage: test_load_call_unload_extension(client, extension1) without return types