code: def test_update():
      """Verify that calling `update` changes the Deck object"""
      deck = pydeck_examples.create_minimal_test_object()
      (
          deck.initial_view_state.latitude,
          deck.initial_view_state.longitude,
      ) = (0, 0)
      deck.update()
      # Create relevant results string
      expected_results = json.loads(fixtures["minimal"])
      expected_results["initialViewState"]["latitude"] = 0
      expected_results["initialViewState"]["longitude"] = 0
      assert json.loads(str(deck)) == expected_results
  
file_path: deck.gl/bindings/pydeck/tests/bindings/test_deck.py
imports: import pytest
  import json
  import pydeck
  from pydeck import Deck
  from IPython.display import HTML
  from .None import pydeck_examples
  from ..fixtures import fixtures
label_desc: Use image node_id 3 for calling a global function with example usage: test_update() without return types