Onionr/src/runtests/osver.py
2020-02-06 00:54:49 -06:00

9 lines
245 B
Python

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')