Add more validation for posting maintenance tasks #2757
69.23% of diff hit (target 55.66%)
View this Pull Request on Codecov
69.23% of diff hit (target 55.66%)
Annotations
Check warning on line 142 in python/nav/web/maintenance/utils.py
codecov / codecov/patch
python/nav/web/maintenance/utils.py#L142
Added line #L142 was not covered by tests
Check warning on line 156 in python/nav/web/maintenance/utils.py
codecov / codecov/patch
python/nav/web/maintenance/utils.py#L155-L156
Added lines #L155 - L156 were not covered by tests
Check warning on line 176 in python/nav/web/maintenance/utils.py
codecov / codecov/patch
python/nav/web/maintenance/utils.py#L176
Added line #L176 was not covered by tests
Check warning on line 180 in python/nav/web/maintenance/utils.py
codecov / codecov/patch
python/nav/web/maintenance/utils.py#L179-L180
Added lines #L179 - L180 were not covered by tests
Check warning on line 184 in python/nav/web/maintenance/utils.py
codecov / codecov/patch
python/nav/web/maintenance/utils.py#L184
Added line #L184 was not covered by tests
Check warning on line 188 in python/nav/web/maintenance/utils.py
codecov / codecov/patch
python/nav/web/maintenance/utils.py#L187-L188
Added lines #L187 - L188 were not covered by tests
Check warning on line 192 in python/nav/web/maintenance/utils.py
codecov / codecov/patch
python/nav/web/maintenance/utils.py#L192
Added line #L192 was not covered by tests
Check warning on line 196 in python/nav/web/maintenance/utils.py
codecov / codecov/patch
python/nav/web/maintenance/utils.py#L195-L196
Added lines #L195 - L196 were not covered by tests