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

feat: Allow override_flag testutil to set different checks #480

Commits on Dec 2, 2022

  1. feat: Allow override_flag testutil to set different checks

    Up until now, the `override_flag` test util was only useful to
    completely activate or deactivate a flag. It didn't allow to provide
    more customization for all the internal checks it makes, like evaluating
    if the request user is authenticated or staff.
    
    This change provides that functionality, without breaking the current
    API, to avoid breaking changes. Now, users can provide more granular
    arguments to `override_flag`, for a more flexible flag testing.
    
    Closes jazzband#439.
    adamantike committed Dec 2, 2022
    Configuration menu
    Copy the full SHA
    1f193b9 View commit details
    Browse the repository at this point in the history