prjemian/punx

improve coverage of unit tests

Closed this issue · 2 comments

Improve the code coverage of the unit tests. These modules have coverage below 80%

(bluesky_2022_1) prjemian@zap:~/.../prjemian/punx$ git grep application_definition
punx/tests/test_validate.py:def TODO_test_application_definition(hfile):
punx/tests/test_validate.py:def TODO_test_contributed_application_definition(hfile):
punx/validate.py:                    self.validate_application_definition(v_item.parent)
punx/validate.py:    def validate_application_definition(self, v_item):
punx/validate.py:        from .validations import application_definition
punx/validate.py:        application_definition.verify(self, v_item)

LGTM reports that some imports of FileNotFound are unused. Actually, this is superseded by FileNotFoundError now.