code: def test_get_layer_credentials():
      carto_auth = CartoAuth(
          mode="oauth",
          api_base_url="https://api.carto.com",
          access_token="1234567890",
          expiration=10000000000,
      )
      assert get_layer_credentials(carto_auth) == {
          "apiVersion": "v3",
          "apiBaseUrl": "https://api.carto.com",
          "accessToken": "1234567890",
      }
  
file_path: deck.gl/bindings/pydeck-carto/tests/test_layer.py
imports: import json
  import pydeck
  from carto_auth import CartoAuth
  from pydeck_carto import register_carto_layer, get_layer_credentials
  from pydeck_carto.layer import MapType, CartoConnection
label_desc: Use image node_id 2 for calling a global function with example usage: test_get_layer_credentials() without return types