blob: 14d1a91858fb27f7f910fc03f37a76e1f2d82941 [file] [log] [blame]
############################################################################
# Copyright (C) SchedMD LLC.
############################################################################
import atf
import pytest
# import re
import json
# Setup
@pytest.fixture(scope="module", autouse=True)
def setup():
atf.require_slurm_running()
def test_json():
"""Verify squeue --json has the correct format"""
output = atf.run_command_output("squeue --json", fatal=True)
assert json.loads(output) is not None