Basic check for QubesOS in runtime tests and to avoid starting LAN server
This commit is contained in:
parent
87b8655b83
commit
8389ed190c
3 changed files with 7 additions and 3 deletions
|
@ -7,8 +7,12 @@ from gevent import sleep
|
|||
from coredb import blockmetadb
|
||||
from onionrutils.epoch import get_epoch
|
||||
import logger
|
||||
from etc import onionrvalues
|
||||
|
||||
def test_lan_server(testmanager):
|
||||
if onionrvalues.IS_QUBES:
|
||||
logger.warn("Cannot test LAN on QubesOS", terminal=True)
|
||||
return
|
||||
start_time = get_epoch()
|
||||
for i in range(1337, 1340):
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue