l.s.f.t.FeatureFixtureMixin : class documentation

Part of lp.services.features.testing View In Hierarchy

Known subclasses: lp.services.features.testing.FeatureFixture, lp.services.features.testing.MemoryFeatureFixture

No class docstring
Method __init__ Constructor.
Method makeNewRules Make a set of new feature flag rules.
Method _setUp Set the feature flags that this fixture is responsible for.
def __init__(self, features_dict, full_feature_rules=None, override_scope_lookup=None):
Constructor.
Parametersfeatures_dictA dictionary-like object with keys and values that are flag names and those flags' settings.
override_scope_lookupIf non-None, an argument that takes a scope name and returns True if it matches. If not specified, scopes are looked up from the current request.
def _setUp(self):
Set the feature flags that this fixture is responsible for.
def makeNewRules(self):
Make a set of new feature flag rules.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.