blob: 4464d339ae16a2becec54d1d45475b39e3a6d9fa [file]
############################################################################
# Copyright (C) SchedMD LLC.
############################################################################
# import pytest
import re
import atf
def test_help():
"""Verify sstat --help displays the help page"""
output = atf.run_command_output("sstat --help", fatal=True)
assert re.search(r"sstat \[<OPTION>\]", output) is not None
assert re.search(r"Valid <OPTION> values are:", output) is not None
assert re.search(r"-j, --jobs:", output) is not None