code: def test_events_results(self, mock_uuid4):
      app._got_first_request = False
      async_query_manager.init_app(app)
      self.login(username="admin")
      with mock.patch.object(
          async_query_manager._redis, "xrange"
      ) as mock_xrange:
          mock_xrange.return_value = [
              (
                  "1607477697866-0",
                  {
                      "data": '{"channel_id": "1095c1c9-b6b1-444d-aa83-8e323b32831f", "job_id": "10a0bd9a-03c8-4737-9345-f4234ba86512", "user_id": "1", "status": "done", "errors": [], "result_url": "/api/v1/chart/data/qc-ecd766dd461f294e1bcdaa321e0e8463"}'
                  },
              ),
              (
                  "1607477697993-0",
                  {
                      "data": '{"channel_id": "1095c1c9-b6b1-444d-aa83-8e323b32831f", "job_id": "027cbe49-26ce-4813-bb5a-0b95a626b84c", "user_id": "1", "status": "done", "errors": [], "result_url": "/api/v1/chart/data/qc-1bbc3a240e7039ba4791aefb3a7ee80d"}'
                  },
              ),
          ]
          rv = self.fetch_events()
          response = json.loads(rv.data.decode("utf-8"))
  
      assert rv.status_code == 200
      channel_id = (
          app.config["GLOBAL_ASYNC_QUERIES_REDIS_STREAM_PREFIX"]
          + self.UUID
      )
      mock_xrange.assert_called_with(channel_id, "-", "+", 100)
      expected = {
          "result": [
              {
                  "channel_id": "1095c1c9-b6b1-444d-aa83-8e323b32831f",
                  "errors": [],
                  "id": "1607477697866-0",
                  "job_id": "10a0bd9a-03c8-4737-9345-f4234ba86512",
                  "result_url": "/api/v1/chart/data/qc-ecd766dd461f294e1bcdaa321e0e8463",
                  "status": "done",
                  "user_id": "1",
              },
              {
                  "channel_id": "1095c1c9-b6b1-444d-aa83-8e323b32831f",
                  "errors": [],
                  "id": "1607477697993-0",
                  "job_id": "027cbe49-26ce-4813-bb5a-0b95a626b84c",
                  "result_url": "/api/v1/chart/data/qc-1bbc3a240e7039ba4791aefb3a7ee80d",
                  "status": "done",
                  "user_id": "1",
              },
          ]
      }
      self.assertEqual(response, expected)
  
file_path: superset/tests/integration_tests/async_events/api_tests.py
imports: import json
  from typing import Optional
  from unittest import mock
  from superset.extensions import async_query_manager
  from tests.integration_tests.base_tests import SupersetTestCase
  from tests.integration_tests.test_app import app
label_desc: Use image node_id 4 for calling the TestAsyncEventApi obj's underlying member method code with example usage: obj.test_events_results(mock_uuid4) without return types