docstr: Test that pydeck object with tooltip works.
docstr_tok: ["Test","that","pydeck","object","with","tooltip","works","."]
code: def test_with_tooltip(self):
      """Test that pydeck object with tooltip works."""
  
      tooltip = {
          "html": "<b>Elevation Value:</b> {elevationValue}",
          "style": {"color": "white"},
      }
      st.pydeck_chart(
          pdk.Deck(
              layers=[
                  pdk.Layer("ScatterplotLayer", data=df1),
              ],
              tooltip=tooltip,
          )
      )
  
      el = self.get_delta_from_queue().new_element
      actual = json.loads(el.deck_gl_json_chart.tooltip)
  
      self.assertEqual(actual, tooltip)
  
file_path: streamlit/lib/tests/streamlit/elements/pydeck_test.py
imports: import json
  from unittest import mock
  import pandas
  import pydeck
  import streamlit
  import streamlit.elements.deck_gl_json_chart
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 2 for calling the PyDeckTest obj's underlying member method code with example usage: obj.test_with_tooltip() without return types