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

Function segment_rule

api/tests/conftest.py:440–441  ·  view source on GitHub ↗
(segment)

Source from the content-addressed store, hash-verified

438
439@pytest.fixture()
440def segment_rule(segment): # type: ignore[no-untyped-def]
441 return SegmentRule.objects.create(segment=segment, type=SegmentRule.ALL_RULE)
442
443
444@pytest.fixture()

Callers

nothing calls this directly

Calls 1

createMethod · 0.45

Tested by

no test coverage detected