blob: e6d16fdc67554bfb7f822e31b3eb6069410b6a55 [file] [log] [blame]
############################################################################
# Copyright (C) SchedMD LLC.
############################################################################
import atf
# import pytest
import re
def test_help():
"""Verify sprio --help displays the help page"""
output = atf.run_command_output("sprio --help", fatal=True)
assert re.search(r"sprio \[OPTIONS\]", output) is not None
assert re.search(r"-j, --jobs", output) is not None
assert re.search(r"-l, --long", output) is not None
assert re.search(r"-M, --cluster", output) is not None
assert re.search(r"-p, --partition", output) is not None
assert re.search(r"-u, --user", output) is not None
assert re.search(r"-w, --weights", output) is not None