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

Adds tests for role generation anonymization #1501

Merged
merged 4 commits into from
Jan 22, 2025
Merged

Conversation

mabashian
Copy link
Member

Jira Issue: https://issues.redhat.com/browse/AAP-36664

Description

Primarily adding unit tests for code that was already in place. I did add some logic that anonymizes the content of the files though which is net-new. I did move all of the role gen view related tests out to a separate file since test_views.py is massive. I plan on peeling all of the other view related tests out into separate files in the near future to match (as long as there are no objections)

Testing

Primarily executing the unit tests as that's where most of the changes were.

manstis
manstis previously approved these changes Jan 22, 2025
Copy link
Contributor

@manstis manstis left a comment

Choose a reason for hiding this comment

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

LGTM 👍

I for one, welcome our Robot Overlords, erm I mean the move to separate classes.

@mabashian mabashian force-pushed the anonymize-role-generation branch from 2e1e20b to fa115b6 Compare January 22, 2025 16:56
@goneri
Copy link
Contributor

goneri commented Jan 22, 2025

Looks good. It could have been a bit more elegant to move the large block of code in a dedicated PR. This remains a welcome change :-). Thanks!

@mabashian mabashian merged commit f6dea43 into main Jan 22, 2025
11 checks passed
@mabashian mabashian deleted the anonymize-role-generation branch January 22, 2025 19:25
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