class_docstr: Test ability to marshall text_input protos.
class_docstr_tok: ["Test","ability","to","marshall","text_input","protos","."]
docstr: Test that it can be called with label_visibility param.
docstr_tok: ["Test","that","it","can","be","called","with","label_visibility","param","."]
code: def test_label_visibility(self, label_visibility_value, proto_value):
      """Test that it can be called with label_visibility param."""
      st.text_input(
          "the label", label_visibility=label_visibility_value
      )
      c = self.get_delta_from_queue().new_element.text_input
      self.assertEqual(c.label_visibility.value, proto_value)
  
imports: import re
  from unittest.mock import MagicMock, patch
  from parameterized import parameterized
  import streamlit
  from streamlit.errors import StreamlitAPIException
  from streamlit.proto.LabelVisibilityMessage_pb2 import LabelVisibilityMessage
  from streamlit.proto.TextInput_pb2 import TextInput
  from streamlit.testing.v1.app_test import AppTest
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 12 for calling the TextInputTest obj's underlying member method code with example usage: obj.test_label_visibility(label_visibility_value, proto_value) without return types