diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-04 23:49:32 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-04 23:49:32 +0800 |
commit | 88c549ebf97807fa9487db88974df6eb48aa6edd (patch) | |
tree | 190690e3bf07dccb231092bb87f609c30979ebf1 /tests/test_advanced.py | |
parent | 939e92de6241906bdfd39b51552079855af2eaf5 (diff) | |
download | fg21sim-88c549ebf97807fa9487db88974df6eb48aa6edd.tar.bz2 |
webui: websocket.py: Make the response message more consistent
All response message has a "success" item indicating whether the request
be successfully handled. If anything unexpected happens, "success" is
False, and an additional "error" item presents recording the detail.
Also add some more stubs which are necessary for the Web UI.
Diffstat (limited to 'tests/test_advanced.py')
0 files changed, 0 insertions, 0 deletions