code: def test_find_all_specs(self, kpf, all_provisioners):
      ksm = KernelSpecManager()
      kernels = ksm.get_all_specs()
  
      # Ensure specs for initial provisioners exist,
      # and missing_provisioner & new_provisioner don't
      assert "no_provisioner" in kernels
      assert "default_provisioner" in kernels
      assert "subclassed_provisioner" in kernels
      assert "custom_provisioner" in kernels
      assert "missing_provisioner" not in kernels
      assert "new_provisioner" not in kernels
  
imports: import asyncio
  import json
  import os
  import signal
  import sys
  from subprocess import PIPE
  from typing import Any, Dict, List, Optional
  import pytest
  from jupyter_core import paths
  from traitlets import Int, Unicode
  from jupyter_client.connect import KernelConnectionInfo
  from jupyter_client.kernelspec import KernelSpecManager, NoSuchKernel
  from jupyter_client.launcher import launch_kernel
  from jupyter_client.manager import AsyncKernelManager
  from jupyter_client.provisioning import KernelProvisionerBase, KernelProvisionerFactory, LocalProvisioner
  from jupyter_client.provisioning.factory import EntryPoint
label_desc: Use image node_id 1 for calling the TestDiscovery obj's underlying member method code with example usage: obj.test_find_all_specs(kpf, all_provisioners) without return types