mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2024-11-15 03:17:16 +00:00
18 lines
390 B
Python
18 lines
390 B
Python
from functools import partial
|
|
|
|
from tornado.ioloop import IOLoop
|
|
|
|
from test_fsm import TestFSM
|
|
from tfw.networking import TFWServer
|
|
from tfw.config import TFWENV
|
|
from tfw.config.logs import logging
|
|
|
|
LOG = logging.getLogger(__name__)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
FiveStepTestFSM = partial(TestFSM, 5)
|
|
TFWServer(FiveStepTestFSM).listen(TFWENV.WEB_PORT)
|
|
|
|
IOLoop.instance().start()
|