fix: enable pylint warnings (#36195)

* fix: enable pylint warnings
This commit is contained in:
Usama Sadiq
2025-01-30 17:15:33 +05:00
committed by GitHub
parent 166282b111
commit b6828cecaa
17 changed files with 39 additions and 62 deletions

View File

@@ -76,8 +76,7 @@ class TemplateTestCase(unittest.TestCase):
except Exception as exc:
raise TemplateError("Could not parse XML from '{0}': {1}".format( # lint-amnesty, pylint: disable=raise-missing-from
xml_str, str(exc)))
else:
return xml
return xml
def assert_has_xpath(self, xml_root, xpath, context_dict, exact_num=1):
"""