Fix SLURM sinfo command parser
This commit is contained in:
parent
e3fda2c317
commit
a038d46231
2 changed files with 3 additions and 4 deletions
|
@ -109,13 +109,12 @@ def test_slurm_sinfo_run(monkeypatch):
|
|||
)
|
||||
|
||||
assert sinfo_run(username='john-doe') == (
|
||||
'su - john-doe -c "'
|
||||
'su - john-doe -c '
|
||||
'sinfo '
|
||||
'--federation '
|
||||
'--noheader '
|
||||
'--responding '
|
||||
'--Format=Cluster,PartitionName,NodeHost,StateLong,CPUsState,Memory,Gres'
|
||||
'"'
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue