mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2024-11-12 19:27:17 +00:00
Comply with changes in TFW API
This commit is contained in:
parent
6ff39e9739
commit
e5056e3ee1
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user