+ now require runtime tests to generate unittest result that is somewhat fresh
+ add runtime test for webpass needing to be set
This commit is contained in:
parent
6624a80c68
commit
8a3f84097a
12 changed files with 115 additions and 17 deletions
|
@ -66,6 +66,8 @@ def local_command(command, data='', silent = True, post=False,
|
|||
if data != '':
|
||||
data = '&data=' + urllib.parse.quote_plus(data)
|
||||
payload = 'http://%s/%s%s' % (hostname, command, data)
|
||||
if not config.get('client.webpassword'):
|
||||
config.reload()
|
||||
|
||||
try:
|
||||
if post:
|
||||
|
@ -89,5 +91,4 @@ def local_command(command, data='', silent = True, post=False,
|
|||
if not silent:
|
||||
logger.error('Failed to make local request (command: %s):%s' % (command, error), terminal=True)
|
||||
ret_data = False
|
||||
|
||||
return ret_data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue