diff --git a/stubs/txzmq/test/test_pubsub.pyi b/stubs/txzmq/test/test_pubsub.pyi new file mode 100644 --- /dev/null +++ b/stubs/txzmq/test/test_pubsub.pyi @@ -0,0 +1,19 @@ +# Stubs for txzmq.test.test_pubsub (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from twisted.trial import unittest +from txzmq.pubsub import ZmqSubConnection +from typing import Any + +class ZmqTestSubConnection(ZmqSubConnection): + messages: Any = ... + def gotMessage(self, message: Any, tag: Any) -> None: ... + +class ZmqConnectionTestCase(unittest.TestCase): + factory: Any = ... + def setUp(self) -> None: ... + def tearDown(self) -> None: ... + def test_send_recv(self): ... + def test_send_recv_pgm(self): ... + def test_send_recv_multiple_endpoints(self): ...