code: def test_date_input_interaction():
      """Test interactions with an empty date_input widget."""
  
      def script():
          import streamlit as st
  
          st.date_input("the label", value=None)
  
      at = AppTest.from_function(script).run()
      date_input = at.date_input[0]
      assert date_input.value is None
  
      # Set the value to a specific date
      at = date_input.set_value(date(2012, 1, 3)).run()
      date_input = at.date_input[0]
      assert date_input.value == date(2012, 1, 3)
  
      # # Clear the value
      at = date_input.set_value(None).run()
      date_input = at.date_input[0]
      assert date_input.value is None
  
imports: from datetime import date, datetime, timedelta
  from parameterized import parameterized
  from pytest import raises
  import streamlit
  from streamlit.errors import StreamlitAPIException
  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 1 for calling a global function with example usage: test_date_input_interaction() without return types