Coverage report: 72%

Files Functions Classes

coverage.py v7.6.10, created at 2025-01-17 10:19 +0000

File function statements missing excluded branches partial coverage
mockslurm/__init__.py (no function) 0 0 0 0 0 100%
mockslurm/mock_sbatch.py parse_dependency 12 0 0 6 0 100%
mockslurm/mock_sbatch.py check_dependency 17 0 0 10 0 100%
mockslurm/mock_sbatch.py launch_job 53 53 0 10 0 0%
mockslurm/mock_sbatch.py main 47 16 0 8 3 62%
mockslurm/mock_sbatch.py (no function) 19 1 0 2 1 90%
mockslurm/mock_scancel.py main 43 15 0 20 7 59%
mockslurm/mock_scancel.py (no function) 10 1 0 2 1 83%
mockslurm/mock_scontrol.py main 13 3 0 10 2 78%
mockslurm/mock_scontrol.py (no function) 3 0 0 0 0 100%
mockslurm/mock_sinfo.py main 12 2 0 8 2 80%
mockslurm/mock_sinfo.py (no function) 2 0 0 0 0 100%
mockslurm/mock_squeue.py count_nodes 13 1 0 8 1 90%
mockslurm/mock_squeue.py parse_squeue_format 17 0 0 6 0 100%
mockslurm/mock_squeue.py main 38 7 0 12 4 74%
mockslurm/mock_squeue.py (no function) 15 1 0 2 1 88%
mockslurm/process_db.py find_db_file 6 1 0 4 2 70%
mockslurm/process_db.py open_file_retry_on_locked 7 1 0 2 1 78%
mockslurm/process_db.py clear_db 5 5 0 2 0 0%
mockslurm/process_db.py get_db_file_handle 6 0 0 2 0 100%
mockslurm/process_db.py get_db 1 0 0 0 0 100%
mockslurm/process_db.py update_with_default_value 3 0 0 0 0 100%
mockslurm/process_db.py append_job 7 0 0 2 0 100%
mockslurm/process_db.py update_db_value 4 0 0 0 0 100%
mockslurm/process_db.py get_filtered_DB_mask 9 0 0 4 0 100%
mockslurm/process_db.py (no function) 34 0 0 0 0 100%
mockslurm/utils.py filter_dict_from_args 10 0 0 10 0 100%
mockslurm/utils.py (no function) 3 0 0 0 0 100%
Total   409 107 0 130 25 72%

No items found using the specified filter.