docstr: Requesting a rerun while in CONTINUE state will always succeed.
docstr_tok: ["Requesting","a","rerun","while","in","CONTINUE","state","will","always","succeed","."]
code: def test_rerun_while_running(self):
      """Requesting a rerun while in CONTINUE state will always succeed."""
      reqs = ScriptRequests()
      rerun_data = RerunData(query_string="test_query_string")
      success = reqs.request_rerun(rerun_data)
      self.assertTrue(success)
      self.assertEqual(ScriptRequestType.RERUN, reqs._state)
      self.assertEqual(rerun_data, reqs._rerun_data)
  
imports: import unittest
  from typing import Optional
  from streamlit.proto.WidgetStates_pb2 import WidgetState, WidgetStates
  from streamlit.runtime.scriptrunner.script_requests import RerunData, ScriptRequest, ScriptRequests, ScriptRequestType
label_desc: Use image node_id 4 for calling the ScriptRequestsTest obj's underlying member method code with example usage: obj.test_rerun_while_running() without return types