Initial Commit
- initial default booting image
This commit is contained in:
11
support/testing/tests/package/sample_python_twisted.py
Normal file
11
support/testing/tests/package/sample_python_twisted.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from twisted.internet import protocol, reactor, endpoints
|
||||
from twisted.web.client import readBody # noqa: F401
|
||||
from twisted.web import xmlrpc, server # noqa: F401
|
||||
|
||||
|
||||
class F(protocol.Factory):
|
||||
pass
|
||||
|
||||
|
||||
endpoints.serverFromString(reactor, "tcp:1234").listen(F())
|
||||
reactor.run()
|
||||
Reference in New Issue
Block a user