1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2025-07-14 01:26:24 +00:00

Modify resource's directory structure

This commit is contained in:
R. Richard
2019-08-15 17:04:27 +02:00
parent 11b3ac8eef
commit 9fd3520910
3 changed files with 7 additions and 17 deletions

View File

@ -1,5 +1,4 @@
import logging
from sys import stderr
from functools import partial
from tornado.ioloop import IOLoop
@ -11,8 +10,7 @@ from tfw.components.terminal import TerminalHandler
from tfw.components.frontend import FrontendProxyHandler, ConsoleLogsHandler
from tfw.components.process_management import ProcessHandler, ProcessLogHandler
from tfw.components.fsm import FSMHandler
from tfw.main import EventHandlerFactory, setup_signal_handlers
from tfw.logging import Log, Logger, LogFormatter, VerboseLogFormatter
from tfw.main import EventHandlerFactory, setup_logger, setup_signal_handlers
from tfw.config import TFWENV, TAOENV
from custom_handlers import CenatorHandler, TestCommandsHandler, messageFSMStepsHandler
@ -22,10 +20,7 @@ LOG = logging.getLogger(__name__)
def main():
# pylint: disable=unused-variable
Logger([
Log(stderr, LogFormatter(20)),
Log(TFWENV.LOGFILE, VerboseLogFormatter())
]).start()
setup_logger(__file__)
eh_factory = EventHandlerFactory()
# TFW builtin EventHandlers (required for their respective functionalities)