diff --git a/tests/settings/sqlite_sentinel.py b/tests/settings/sqlite_sentinel.py index 6aa01c9..c2088e4 100644 --- a/tests/settings/sqlite_sentinel.py +++ b/tests/settings/sqlite_sentinel.py @@ -1,13 +1,13 @@ SECRET_KEY = "django_tests_secret_key" -DJANGO_REDIS_CONNECTION_FACTORY = "django_valkey.pool.SentinelConnectionFactory" +DJANGO_VALKEY_CONNECTION_FACTORY = "django_valkey.pool.SentinelConnectionFactory" SENTINELS = [("127.0.0.1", 26379)] CACHES = { "default": { "BACKEND": "django_valkey.cache.ValkeyCache", - "LOCATION": ["valkey://default_service?db=5"], + "LOCATION": ["valkey://default_service?db=1"], "OPTIONS": { "CLIENT_CLASS": "django_valkey.client.DefaultClient", "SENTINELS": SENTINELS, diff --git a/tests/settings/sqlite_usock.py b/tests/settings/sqlite_usock.py index 3040e33..a3f9556 100644 --- a/tests/settings/sqlite_usock.py +++ b/tests/settings/sqlite_usock.py @@ -3,7 +3,7 @@ CACHES = { "default": { "BACKEND": "django_valkey.cache.ValkeyCache", - "LOCATION": ["unix:///tmp/valkey.sock?db=1", "unix:///tmp/redis.sock?db=1"], + "LOCATION": ["unix:///tmp/valkey.sock?db=1", "unix:///tmp/valkey.sock?db=1"], "OPTIONS": {"CLIENT_CLASS": "django_valkey.client.DefaultClient"}, }, "doesnotexist": { @@ -13,7 +13,7 @@ }, "sample": { "BACKEND": "django_valkey.cache.ValkeyCache", - "LOCATION": "valkey://127.0.0.1:6379?db=1,redis://127.0.0.1:6379?db=1", + "LOCATION": "valkey://127.0.0.1:6379?db=1,valkey://127.0.0.1:6379?db=1", "OPTIONS": {"CLIENT_CLASS": "django_valkey.client.DefaultClient"}, }, "with_prefix": {