Skip to content

Commit 1eeb0c6

Browse files
committed
adjust test suite with new format
1 parent 4b91427 commit 1eeb0c6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/tests_async/test_connection_string.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
@pytest.mark.asyncio
1515
async def test_connection_strings(connection_string: str):
1616
cf = pool.get_connection_factory(
17-
path="django_valkey.async_cache.pool.AsyncConnectionFactory", options={}
17+
options={
18+
"CONNECTION_FACTORY": "django_valkey.async_cache.pool.AsyncConnectionFactory"
19+
}
1820
)
1921
res = cf.make_connection_params(connection_string)
2022
assert res["url"] == connection_string

0 commit comments

Comments
 (0)