Skip to content

pytest reference

Enabling feature flag with pytest.

Pytest expects functions (not callables). This method specifies, how a test should behave. Pass/Fail. Or if the feature is "on" return the original test.

Parameters:

Name Type Description Default
passing bool

Outcome of the assumed test. Defaults to True.

True

Last update: October 28, 2023
Created: October 28, 2023