Coverage report: 78%

Files Functions Classes

coverage.py v7.6.7, created at 2024-11-21 00:38 +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 34 34 0 10 0 0%
mockslurm/mock_sbatch.py main 24 1 0 2 1 92%
mockslurm/mock_sbatch.py (no function) 18 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 33 3 0 10 4 84%
mockslurm/mock_squeue.py (no function) 16 1 0 2 1 89%
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   362 69 0 122 23 78%

No items found using the specified filter.