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 b3c011f commit 84a762bCopy full SHA for 84a762b
tests.py
@@ -345,6 +345,18 @@ def func():
345
self.assertRaises(raises[i], func)
346
347
348
+class UnixSocketInternalTests(InternalTests):
349
+ """
350
+ These tests run the same internal communication tests, but over a
351
+ Unix socket instead of a TCP socket.
352
353
+ def setUp(self):
354
+ self.port = "/tmp/jsonrpc%d.sock" % (PORTS.pop())
355
+ self.server = server_set_up(addr=self.port, address_family=socket.AF_UNIX)
356
+
357
+ def get_client(self):
358
+ return Server('unix:%s' % self.port)
359
360
""" Test Methods """
361
def subtract(minuend, subtrahend):
362
""" Using the keywords from the JSON-RPC v2 doc """
0 commit comments