-
Notifications
You must be signed in to change notification settings - Fork 115
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
[6.13.z] Add Ruff pytest standards #13062
Conversation
@@ -293,7 +293,7 @@ def test_positive_sync_proxy_with_certificate(request, target_sat, module_org, m | |||
# Create and fetch new cerfiticate | |||
target_sat.custom_cert_generate(proxy_host) | |||
cacert = target_sat.execute(f'cat {cacert_path}').stdout | |||
assert 'BEGIN CERTIFICATE' and 'END CERTIFICATE' in cacert | |||
assert 'END CERTIFICATE' in cacert |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're missing assertion for 'BEGIN CERTIFICATE' here!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That shouldn't be a concern since the master branch contains an identical patch. See this patch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct, this was a decision from the test owner.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, it's good to have but as @damoore044 confirmed this, so I wouldn't block on this
This is a big one! Most of the changes are automatic, but a number of these are manual. I've deselected rules relating to fixture naming, but we can have a conversation later about whether we want to adopt the underscore naming conventions for fixtures.
eb832c0
to
40e2319
Compare
This is a big one! Most of the changes are automatic, but a number of these are manual. I've deselected rules relating to fixture naming, but we can have a conversation later about whether we want to adopt the underscore naming conventions for fixtures.
fixes #13038