code: def test_find_plugin_success(mocker, fiftyone_plugins_dir):
      mocker.patch("fiftyone.config.plugins_dir", fiftyone_plugins_dir)
      plugin_name = _DEFAULT_TEST_PLUGINS[0] + "-name"
      actual_path = fop.find_plugin(plugin_name)
      expected_path = os.path.join(
          fiftyone_plugins_dir, _DEFAULT_TEST_PLUGINS[0]
      )
      assert actual_path == expected_path
  
file_path: fiftyone/tests/unittests/plugins/core_tests.py
imports: import os
  import fiftyone
  import pytest
  import json
  import yaml
  from unittest import mock
  import fiftyone.plugins
label_desc: Use image node_id 9 for calling a global function with example usage: test_find_plugin_success(mocker, fiftyone_plugins_dir) without return types