mockslurm.mock_squeue¶
Implement a mock of the squeue command of slurm.
The squeue -o, –format argument is supported except for the %all directive
Functions
|
Count the number of nodes requested by users in the nodelist |
|
|
|
Convert squeue format argument (-o format) to a python format string and list of function filling the values of the format string for each job DB row. |