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 65b5c04 commit e9e3bfbCopy full SHA for e9e3bfb
tests/test_connection.py
@@ -341,3 +341,10 @@ def test_unix_socket_connection_failure():
341
str(e.value)
342
== "Error 2 connecting to unix:///tmp/a.sock. No such file or directory."
343
)
344
+
345
346
+def test_parsing_unix_socket_relative_path():
347
+ parsed = parse_url("unix:./valkey.sock", False)
348
+ assert parsed["path"] == "./valkey.sock"
349
+ assert parsed["connection_class"] is UnixDomainSocketConnection
350
+ assert len(parsed) == 2
0 commit comments