code: def test_stop(self):
      st.stop()
      assert (
          self.script_run_ctx.script_requests._state
          == ScriptRequestType.STOP
      )
  
imports: import streamlit
  from streamlit.runtime.scriptrunner.script_requests import ScriptRequestType
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 1 for calling the StopTest obj's underlying member method code with example usage: obj.test_stop() without return types