do not allow restart on windows
This commit is contained in:
parent
938e1bddd3
commit
7c7e5de091
10 changed files with 83 additions and 11 deletions
|
@ -10,6 +10,7 @@ from onionrutils import epoch
|
|||
from . import uicheck, inserttest, stresstest
|
||||
from . import ownnode
|
||||
from .webpasstest import webpass_test
|
||||
from .osver import test_os_ver_endpoint
|
||||
"""
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -30,7 +31,8 @@ RUN_TESTS = [uicheck.check_ui,
|
|||
ownnode.test_tor_adder,
|
||||
ownnode.test_own_node,
|
||||
stresstest.stress_test_block_insert,
|
||||
webpass_test
|
||||
webpass_test,
|
||||
test_os_ver_endpoint
|
||||
]
|
||||
|
||||
SUCCESS_FILE = os.path.dirname(os.path.realpath(__file__)) + '/../../tests/runtime-result.txt'
|
||||
|
|
8
src/runtests/osver.py
Normal file
8
src/runtests/osver.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
import platform
|
||||
|
||||
from onionrutils import localcommand
|
||||
|
||||
|
||||
def test_os_ver_endpoint(test_manager):
|
||||
if localcommand.local_command('os') != platform.system().lower():
|
||||
raise ValueError('could not get proper os platform from endpoint /os')
|
Loading…
Add table
Add a link
Reference in a new issue