mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-30 06:11:26 -07:00
Fix pep8/pylint tests when deleting files. (#28410)
* Fix pep8/pylint tests when deleting files. * Improve static analysis in PyCharm. * Use success instead of skipped for explain.
This commit is contained in:
parent
343da35381
commit
a31f4c178a
2 changed files with 38 additions and 33 deletions
|
@ -200,8 +200,10 @@ class TestFailure(TestResult):
|
|||
|
||||
if messages:
|
||||
messages = sorted(messages, key=lambda m: m.sort_key)
|
||||
else:
|
||||
messages = []
|
||||
|
||||
self.messages = messages or []
|
||||
self.messages = messages
|
||||
self.summary = summary
|
||||
|
||||
def write(self, args):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue