MCPcopy Index your code
hub / github.com/Flagsmith/flagsmith / feature_specific_segment

Function feature_specific_segment

api/tests/conftest.py:445–448  ·  view source on GitHub ↗
(feature: Feature)

Source from the content-addressed store, hash-verified

443
444@pytest.fixture()
445def feature_specific_segment(feature: Feature) -> Segment:
446 return Segment.objects.create( # type: ignore[no-any-return]
447 feature=feature, name="feature specific segment", project=feature.project
448 )
449
450
451@pytest.fixture()

Callers

nothing calls this directly

Calls 1

createMethod · 0.45

Tested by

no test coverage detected