code: def test_clicking_resets_range(
      self, single_plot_page: SinglePlotPage
  ) -> None:
      plot = _make_plot()
  
      page = single_plot_page(plot)
  
      # Change the ranges using a zoom in tool
      [reset, zoom_in] = page.get_toolbar_buttons(plot)
      zoom_in.click()
  
      page.eval_custom_action()
  
      results = page.results
      assert results["xrstart"] != 0
      assert results["xrend"] != 1
      assert results["yrstart"] != 0
      assert results["yrend"] != 1
  
      # Click the reset tool and check the ranges are restored
      reset.click()
  
      page.eval_custom_action()
  
      results = page.results
      assert results["xrstart"] == 0
      assert results["xrend"] == 1
      assert results["yrstart"] == 0
      assert results["yrend"] == 1
  
      assert page.has_no_console_errors()
  
file_path: bokeh/tests/integration/tools/test_reset_tool.py
imports: from __future__ import annotations
  import pytest
  from bokeh.events import RangesUpdate
  from bokeh.models import ColumnDataSource, CustomJS, Plot, Range1d, Rect, ResetTool, Scatter, ZoomInTool
  from tests.support.plugins.project import SinglePlotPage
  from tests.support.util.selenium import RECORD
label_desc: Use image node_id 2 for calling the Test_ResetTool obj's underlying member method code with example usage: obj.test_clicking_resets_range(single_plot_page) without return types