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

Function segment

api/tests/conftest.py:429–431  ·  view source on GitHub ↗
(project: Project)

Source from the content-addressed store, hash-verified

427
428@pytest.fixture()
429def segment(project: Project) -> Segment:
430 segment: Segment = Segment.objects.create(name="segment", project=project)
431 return segment
432
433
434@pytest.fixture()

Callers

nothing calls this directly

Calls 1

createMethod · 0.45

Tested by

no test coverage detected