code: def test_access_methods():
      script = AppTest.from_string(
          """
          import streamlit as st
  
          st.sidebar.radio("foo", options=["a", "b", "c"])
          st.radio("bar", options=[1, 2, 3])
          """,
      )
      sr = script.run()
      assert len(sr.radio) == 2
      assert sr.sidebar.radio[0].value == "a"
      assert sr.main.radio[0].value == 1
  
      repr(sr.radio[0])
  
imports: from datetime import date, datetime, time
  import numpy
  import pandas
  import pytest
  from streamlit.elements.markdown import MARKDOWN_HORIZONTAL_RULE_EXPRESSION
  from streamlit.testing.v1.app_test import AppTest
label_desc: Use image node_id 29 for calling a global function with example usage: test_access_methods() without return types