Skip to content

Assert number of messages in test_messages_documentation.py#6145

Merged
Pierre-Sassoulas merged 6 commits intopylint-dev:mainfrom
matusvalo:test_messages_documentation
Apr 2, 2022
Merged

Assert number of messages in test_messages_documentation.py#6145
Pierre-Sassoulas merged 6 commits intopylint-dev:mainfrom
matusvalo:test_messages_documentation

Conversation

@matusvalo
Copy link
Copy Markdown
Collaborator

Type of Changes

Type
🐛 Bug fix
✨ New feature
🔨 Refactoring
📜 Docs

Description

Comment thread doc/test_messages_documentation.py Outdated
Comment thread doc/test_messages_documentation.py Outdated
Comment thread doc/test_messages_documentation.py Outdated
matusvalo and others added 3 commits April 2, 2022 22:19
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
@matusvalo matusvalo requested a review from DanielNoord April 2, 2022 20:21
@coveralls
Copy link
Copy Markdown

coveralls commented Apr 2, 2022

Pull Request Test Coverage Report for Build 2083163057

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 94.41%

Totals Coverage Status
Change from base Build 2082492969: 0.0%
Covered Lines: 15539
Relevant Lines: 16459

💛 - Coveralls

expected_messages = self._get_expected()
actual_messages = self._get_actual()
if self.is_good_test_file():
assert actual_messages.total() == 0 # type: ignore[attr-defined]
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is because MessageCounter is still Counter without the totals. But this is fine for me!

Copy link
Copy Markdown
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

@Pierre-Sassoulas Pierre-Sassoulas added the Maintenance Discussion or action around maintaining pylint or the dev workflow label Apr 2, 2022
@Pierre-Sassoulas Pierre-Sassoulas added this to the 2.14.0 milestone Apr 2, 2022
@Pierre-Sassoulas Pierre-Sassoulas merged commit e52875a into pylint-dev:main Apr 2, 2022
@Pierre-Sassoulas
Copy link
Copy Markdown
Member

Thank you @matusvalo !

@matusvalo matusvalo deleted the test_messages_documentation branch April 2, 2022 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Maintenance Discussion or action around maintaining pylint or the dev workflow

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants