code: def test_parse_channel_id_from_request(async_query_manager):
      encoded_token = encode(
          {"channel": "test_channel_id"},
          JWT_TOKEN_SECRET,
          algorithm="HS256",
      )
  
      request = Mock()
      request.cookies = {"superset_async_jwt": encoded_token}
  
      assert (
          async_query_manager.parse_channel_id_from_request(request)
          == "test_channel_id"
      )
  
file_path: superset/tests/unit_tests/async_events/async_query_manager_tests.py
imports: from unittest import mock
  from unittest.mock import ANY, Mock
  from flask import g
  from jwt import encode
  from pytest import fixture, raises
  from superset import security_manager
  from superset.async_events.async_query_manager import AsyncQueryManager, AsyncQueryTokenException
label_desc: Use image node_id 3 for calling a global function with example usage: test_parse_channel_id_from_request(async_query_manager) without return types