2019-09-26 07:43:03 +00:00
|
|
|
from onionrutils import localcommand
|
|
|
|
def check_ui(test_manager):
|
2019-09-27 15:42:35 +00:00
|
|
|
endpoints = ['/', '/mail/', '/friends/', '/board/']
|
|
|
|
for point in endpoints:
|
|
|
|
result = localcommand.local_command(point)
|
|
|
|
if not result: raise ValueError
|
|
|
|
result = result.lower()
|
2020-01-30 04:56:47 +00:00
|
|
|
if 'script' not in result:
|
2019-10-19 08:47:24 +00:00
|
|
|
raise ValueError(f'uicheck failed on {point}')
|