3
0
Fork 0

fix: fix 'inconsistent-return-statements' for pylint

This commit is contained in:
Lance Edgar 2025-08-30 16:36:52 -05:00
parent 4f6229e5d9
commit 2fcff6b2a4
16 changed files with 43 additions and 9 deletions

View file

@ -94,6 +94,10 @@ class TestReportHandler(ConfigTestCase):
self.assertTrue(issubclass(report, mod.Report))
self.assertIs(report, MockFooReport)
# not found
report = handler.get_report('unknown')
self.assertIsNone(report)
def test_make_report_data(self):
providers = {
'wuttatest': MagicMock(report_modules=['tests.test_reports']),