8000 Make OM code effectively 100% covered. by brian-brazil · Pull Request #602 · prometheus/client_python · GitHub
[go: up one dir, main page]

Skip to content

Make OM code effectively 100% covered. #602

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 24, 2020
Merged

Make OM code effectively 100% covered. #602

merged 1 commit into from
Nov 24, 2020

Conversation

brian-brazil
Copy link
Contributor

Also remove some dead code. The untaken branches claimed by coverage are
due to loops that always iterate at least once, or because state
machines only ever have known states.

@robskillington this is mostly testing the parser implementation, but this caught some missing general cases too.

Signed-off-by: Brian Brazil brian.brazil@robustperception.io

Also remove some dead code. The untaken branches claimed by coverage are
due to loops that always iterate at least once, or because state
machines only ever have known states.

Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
Copy link
Contributor
@robskillington robskillington left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0