1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2024-11-15 05:57:18 +00:00
test-tutorial-framework/solvable/src/tfw_server.py

18 lines
390 B
Python
Raw Normal View History

2018-04-10 09:19:53 +00:00
from functools import partial
from tornado.ioloop import IOLoop
2018-04-10 09:19:53 +00:00
from test_fsm import TestFSM
2018-04-06 14:05:52 +00:00
from tfw.networking import TFWServer
from tfw.config import TFWENV
from tfw.config.logs import logging
2018-04-06 13:22:14 +00:00
2018-03-27 15:09:14 +00:00
LOG = logging.getLogger(__name__)
if __name__ == '__main__':
FiveStepTestFSM = partial(TestFSM, 5)
TFWServer(FiveStepTestFSM).listen(TFWENV.WEB_PORT)
IOLoop.instance().start()