Skip to content

Conversation

@stepansergeevitch
Copy link
Collaborator

Fixed deprecation warning when username and password were provided as environment variables

@stepansergeevitch stepansergeevitch self-assigned this Apr 25, 2023
@stepansergeevitch stepansergeevitch changed the title Fir 14511 settings from env deprecation message fix: Fir 14511 settings from env deprecation message Apr 25, 2023
Copy link
Contributor

@ptiurin ptiurin left a comment

Choose a reason for hiding this comment

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

Good stuff

assert len(err.errors()) > 0

@patch("firebolt.common.settings.logger")
def test_deprecation_warning_with_env(logger_mock: Mock):
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: test_no_deprecation_warning_with_env

@stepansergeevitch stepansergeevitch force-pushed the FIR-14511-settings-from-env-deprecation-message branch from 3ae6735 to 3989f03 Compare May 10, 2023 09:26
@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 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@stepansergeevitch stepansergeevitch merged commit eea66b1 into main May 10, 2023
@stepansergeevitch stepansergeevitch deleted the FIR-14511-settings-from-env-deprecation-message branch May 10, 2023 09:30
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