+ 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:
Kevin Froman 2020-01-29 22:56:47 -06:00
parent 6624a80c68
commit 8a3f84097a
12 changed files with 115 additions and 17 deletions

View file

@ -134,7 +134,6 @@ def daemon():
events.event('daemon_start')
communicator.startCommunicator(shared_state)
localcommand.local_command('shutdown')
if not offline_mode:
net.killTor()

View file

@ -25,11 +25,12 @@ def do_runtime_test():
"""Send runtime test daemon queue command."""
spawn(
localcommand.local_command,
f'/daemon-event/test_runtime',
f'daemon-event/test_runtime',
post=True,
is_json=True,
postData={}
).get(10)
postData={},
maxWait=300
).get(300)
do_runtime_test.onionr_help = "If Onionr is running, " # type: ignore