class_docstr: Test ability to marshall slider protos.
class_docstr_tok: ["Test","ability","to","marshall","slider","protos","."]
docstr: Test a range set by session state.
docstr_tok: ["Test","a","range","set","by","session","state","."]
code: def test_range_session_state(self):
      """Test a range set by session state."""
      state = st.session_state
      state["slider"] = [10, 20]
  
      slider = st.slider(
          "select a range",
          min_value=0,
          max_value=100,
          key="slider",
      )
  
      assert slider == [10, 20]
  
imports: from datetime import date, datetime, time, timedelta, timezone
  from unittest.mock import MagicMock, patch
  import numpy
  import pytest
  from parameterized import parameterized
  import streamlit
  from streamlit.errors import StreamlitAPIException
  from streamlit.js_number import JSNumber
  from streamlit.proto.LabelVisibilityMessage_pb2 import LabelVisibilityMessage
  from streamlit.testing.v1.app_test import AppTest
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 7 for calling the SliderTest obj's underlying member method code with example usage: obj.test_range_session_state() without return types