chore(GAQ): Remove GLOBAL_ASYNC_QUERIES_REDIS_CONFIG (#30284)

Co-authored-by: Sivarajan Narayanan <narayanan_sivarajan@apple.com>
This commit is contained in:
nsivarajan
2025-01-22 09:33:00 +05:30
committed by GitHub
parent dfb9af36df
commit 78cd635b7a
7 changed files with 11 additions and 32 deletions

View File

@@ -18,7 +18,6 @@ from typing import Any, Optional, Type
from unittest import mock
import pytest
import redis
from superset.async_events.cache_backend import (
RedisCacheBackend,
@@ -129,10 +128,6 @@ class TestAsyncEventApi(SupersetTestCase):
RedisSentinelCacheBackend, self._test_events_logic
)
@mock.patch("uuid.uuid4", return_value=UUID)
def test_events_redis(self, mock_uuid4):
self.run_test_with_cache_backend(redis.Redis, self._test_events_logic)
def test_events_no_login(self):
app._got_first_request = False
async_query_manager.init_app(app)