We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c08b477 commit bb657b9Copy full SHA for bb657b9
tests/tests_async/test_cache_options.py
@@ -80,6 +80,9 @@ class TestDjangoValkeyOmitException:
80
@pytest_asyncio.fixture
81
async def conf_cache(self, settings: SettingsWrapper):
82
caches_settings = copy.deepcopy(settings.CACHES)
83
+ # NOTE: this files raises RuntimeWarning because `conn.close` was not awaited,
84
+ # this is expected because django calls the signal manually during this test
85
+ # to debug, put a `raise` in django.utils.connection.BaseConnectionHandler.close_all
86
settings.CACHES = caches_settings
87
return caches_settings
88
0 commit comments