fix test_tmjob and test_weights
McHaillet opened this issue · 0 comments
In test_tmjob.py and test_weights.py I apparently placed some poor assertRaises blocks. Can be easily solved by adding additional assertRaises blocks. From the coverage in PR #127:
File Coverage Missing
All files79%
✅
src/pytom_tm/angles.py94%
✅44
src/pytom_tm/correlation.py85%
✅94-95
126
src/pytom_tm/entry_points.py68%
❌27
104-121
283-342
431-445
542-557
791-858
899-910
src/pytom_tm/extract.py73%
❌108-119
171-177
203-206
278-296
src/pytom_tm/io.py42%
❌14-18
24-27
33-36
42-45
51-54
61-65
73-86
92-99
106-113
128-130
163
197-198
243-245
261
277
294-303
323-328
src/pytom_tm/mask.py80%
✅70
85
94-95
src/pytom_tm/matching.py95%
✅186-196
340
src/pytom_tm/parallel.py84%
✅14-15
81-87
95-97
104
109
148
src/pytom_tm/plotting.py16%
❌20-22
25-32
36-44
48-51
54-70
73-74
77-78
98-103
119-127
133-150
165-173
177-194
198-206
210-217
223
229
234
248-398
src/pytom_tm/template.py57%
❌57-58
67
76-87
92-97
107-112
114
src/pytom_tm/tmjob.py96%
✅170-171
183
189-191
194
327
367
src/pytom_tm/utils.py78%
✅16-18
src/pytom_tm/weights.py95%
✅59
290-291
298
477
480
483
tests/test00_parallel.py96%
✅81
93
tests/test_angles.py95%
✅34
tests/test_entry_points.py90%
✅18-19
tests/test_extract.py91%
✅16
tests/test_mask.py97%
✅96
tests/test_template_matching.py96%
✅48
tests/test_tmjob.py98%
✅144
353
tests/test_weights.py96%
✅117
294
308
320
Minimum allowed coverage is75%
Generated by 🐒 cobertura-action against 4418d20