docstr: Test that pydeck object works.
docstr_tok: ["Test","that","pydeck","object","works","."]
code: def test_basic(self):
      """Test that pydeck object works."""
  
      st.pydeck_chart(
          pdk.Deck(
              layers=[
                  pdk.Layer("ScatterplotLayer", data=df1),
              ]
          )
      )
  
      el = self.get_delta_from_queue().new_element
      actual = json.loads(el.deck_gl_json_chart.json)
  
      self.assertEqual(
          actual["layers"][0]["@@type"], "ScatterplotLayer"
      )
      self.assertEqual(
          actual["layers"][0]["data"],
          [
              {"lat": 1, "lon": 10},
              {"lat": 2, "lon": 20},
              {"lat": 3, "lon": 30},
              {"lat": 4, "lon": 40},
          ],
      )
      self.assertEqual(el.deck_gl_json_chart.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 1 for calling the PyDeckTest obj's underlying member method code with example usage: obj.test_basic() without return types