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

Test obfuscation #52

Merged
merged 7 commits into from
Jan 24, 2025
Merged

Test obfuscation #52

merged 7 commits into from
Jan 24, 2025

Conversation

AndyRae
Copy link
Member

@AndyRae AndyRae commented Jan 23, 2025

Pull Request Contents

♻️ Refactor
🛠️ Repo maintenance

Description

Adds tests for the obfuscation methods in the core logic. Small code movement / deletion also.

Would note that test_apply_filters_combined_leak
This is not how Bunny is implemented - we always run LNS before rounding.
However, the CLI can order how they want.

  • Remove unused methods (apply_filters, get_result_modifiers)
  • Moves get_results_modifiers_from_str to results_modifiers file
  • Removes union types in favour of |

Related Issues or other material

✅ Added/updated tests?

  • This PR contains relevant tests
    • Or doesn't need to per the below explanation
  • I've completed all actions and tasks detailed in the PR Template

@AndyRae AndyRae changed the title Feat/43/test obfuscate Test obfuscation Jan 23, 2025
@beforan beforan merged commit b975255 into main Jan 24, 2025
5 checks passed
@beforan beforan deleted the feat/43/test-obfuscate branch January 24, 2025 10:10
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.

Unit test obfuscation.py
2 participants