1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2024-11-12 19:37:16 +00:00

Make TestFSM.__init__ argument binding more explicit

This commit is contained in:
Kristóf Tóth 2018-04-10 17:32:47 +02:00
parent 7331858055
commit 7a22dc96f5

View File

@ -14,7 +14,8 @@ LOG = logging.getLogger(__name__)
if __name__ == '__main__':
TFWServer(partial(TestFSM, 5)).listen(TFWENV.WEB_PORT)
FiveStepLinearFSM = partial(TestFSM, 5)
TFWServer(FiveStepLinearFSM).listen(TFWENV.WEB_PORT)
LOG.debug('Python version: %s', sys.version[:5])
LOG.debug('Tornado version: %s', tornado.version)
LOG.debug('ZeroMQ version: %s', zmq.zmq_version())