code: def test_jwt_token_uses_utc_time(self) -> None:
      # django server generates token using UTC timezone
      token = generate_jwt_token("foo", expiration=0)
      with patch.object(
          dt, "datetime", Mock(wraps=dt.datetime)
      ) as patched_dt:
          # mock bokeh server localtime to be UTC + 10
          patched_dt.now.return_value = dt.datetime.now(
              tz=dt.timezone.utc
          ) + dt.timedelta(hours=10)
          payload = get_token_payload(token)
      utcnow = calendar.timegm(
          dt.datetime.now(tz=dt.timezone.utc).timetuple()
      )
      assert utcnow - 1 <= payload["session_expiry"] <= utcnow + 1
  
imports: from __future__ import annotations
  import pytest
  import calendar
  import codecs
  import datetime
  import json
  import random
  from unittest.mock import MagicMock, Mock, patch
  from bokeh.util.token import _TOKEN_ZLIB_KEY, _base64_decode, _base64_encode, _get_sysrandom, _reseed_if_needed, _signature, check_token_signature, generate_jwt_token, generate_secret_key, generate_session_id, get_session_id, get_token_payload
  from tests.support.util.env import envset
  import bokeh.util.token
label_desc: Use image node_id 17 for calling the TestSessionId obj's underlying member method code with example usage: obj.test_jwt_token_uses_utc_time() without return types