Skip to content
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

Verify TLS by default to avoid warnings #299

Merged
merged 1 commit into from
Aug 15, 2023

Conversation

ricardobranco777
Copy link
Collaborator

Verify TLS by default to avoid SSLError warnings when connecting to openQA. These warnings can't be disabled in requests for openQA only because doing so would also disable them when connecting to cloud providers.

@codecov
Copy link

codecov bot commented Aug 15, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.09% 🎉

Comparison is base (bf2dca6) 79.01% compared to head (5f61e8a) 79.10%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #299      +/-   ##
==========================================
+ Coverage   79.01%   79.10%   +0.09%     
==========================================
  Files          21       21              
  Lines        1596     1603       +7     
==========================================
+ Hits         1261     1268       +7     
  Misses        335      335              
Files Changed Coverage Δ
ocw/lib/openqa.py 98.00% <100.00%> (+0.32%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@grisu48 grisu48 left a comment

Choose a reason for hiding this comment

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

If the approach is "let's use TLS whenever possible and insecure TLS when needed", then this is good.

LGTM!

@ricardobranco777 ricardobranco777 merged commit 02aed66 into SUSE:master Aug 15, 2023
10 checks passed
@ricardobranco777 ricardobranco777 deleted the verify_tls branch August 15, 2023 15:11
@@ -16,7 +16,7 @@ pylint:

.PHONY: flake8
flake8:
flake8 --max-line-length=$(LINE_MAX) .
flake8 --max-line-length=$(LINE_MAX) $(FILES) tests/*.py
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we should keep nice and tidy model which we HAD , with variables . if FILES variable is not enough better create one more variable ...

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