Skip to content

Conversation

@ptiurin
Copy link
Contributor

@ptiurin ptiurin commented May 30, 2023

Improving test coverage in preparation for mutation test CI.

@ptiurin ptiurin requested a review from stepansergeevitch May 30, 2023 20:50
Copy link
Collaborator

@stepansergeevitch stepansergeevitch left a comment

Choose a reason for hiding this comment

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

Generally LGTM

from firebolt.utils.token_storage import TokenSecureStorage


async def test_connection_attributes(connection: Connection) -> None:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please add a comment on why do we need this test

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I didn't have a chance to properly test this one so it looks odd. Reworked it and marked to skip since slots has no effect in Connection class. :(

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

95.8% 95.8% Coverage
0.0% 0.0% Duplication

@ptiurin ptiurin merged commit 7180a0c into main Jun 20, 2023
@ptiurin ptiurin deleted the ci-mutmut branch June 20, 2023 17:39
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.

3 participants