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

[6.13.z] Add Ruff pytest standards #13062

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

JacobCallahan
Copy link
Member

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

@JacobCallahan JacobCallahan added No-CherryPick PR doesnt need CherryPick to previous branches 6.13.z Introduced in or relating directly to Satellite 6.13 labels Nov 8, 2023
@JacobCallahan JacobCallahan linked an issue Nov 8, 2023 that may be closed by this pull request
@@ -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
Copy link
Collaborator

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!

Copy link
Member

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.

Copy link
Member Author

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.

Copy link
Collaborator

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.
@Gauravtalreja1 Gauravtalreja1 merged commit 9c0edea into SatelliteQE:6.13.z Nov 15, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.13.z Introduced in or relating directly to Satellite 6.13 No-CherryPick PR doesnt need CherryPick to previous branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Failed-AutoCherryPick] - Add Ruff pytest standards
3 participants