()
| 88 | server.start_webserver(options=args, protocol=TestProtocol) |
| 89 | |
| 90 | def start_thread(): |
| 91 | thread = threading.Thread(target=start) |
| 92 | print ("Starting thread") |
| 93 | thread.start() |
| 94 | for i in range(20): |
| 95 | print ("Working... %ds" % (i*5)) |
| 96 | time.sleep(5) |
| 97 | thread.join() |
| 98 | print ("Done") |
| 99 | |
| 100 | #------------------------------------------------------------------------------ |
| 101 | # Main |
no test coverage detected