Onionr/src/runtests/osver.py

9 lines
245 B
Python
Raw Normal View History

2020-02-06 02:31:38 +00:00
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')