1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2024-11-14 02:57:18 +00:00

Comply with changes in TFW API

This commit is contained in:
Kristóf Tóth 2018-05-31 14:20:08 +02:00
parent 6ff39e9739
commit e5056e3ee1

View File

@ -42,7 +42,7 @@ class TestCommands(TerminalCommands):
'key': 'shell',
'data': {
'command': 'write',
'shellcmd': f'sendmessage {message_template}'
'value': f'sendmessage {message_template}'
}
})
else:
@ -61,13 +61,13 @@ class TestCommands(TerminalCommands):
'key': 'shell',
'data': {
'command': 'write',
'shellcmd': f'{seppuku}\n'
'value': f'{seppuku}\n'
}
})
uplink.send({
'key': 'dashboard',
'data': {
'command': 'reload_frontend'
'command': 'reloadFrontend'
}
})
@ -98,6 +98,7 @@ if __name__ == '__main__':
commands = TestCommands(bashrc=f'/home/{TAOENV.USER}/.bashrc')
terminal.historymonitor.subscribe_callback(commands.callback)
terminal.historymonitor.subscribe_callback(cenator)
try:
IOLoop.instance().start()