MCPcopy Create free account
hub / github.com/Flagsmith/flagsmith / populate_environment_document_cache

Function populate_environment_document_cache

api/tests/unit/conftest.py:232–237  ·  view source on GitHub ↗
(
    persistent_environment_document_cache: MagicMock, environment: Environment
)

Source from the content-addressed store, hash-verified

230
231@pytest.fixture()
232def populate_environment_document_cache(
233 persistent_environment_document_cache: MagicMock, environment: Environment
234) -> None:
235 persistent_environment_document_cache.get.return_value = (
236 map_environment_to_environment_document(environment)
237 )
238
239
240@pytest.fixture()

Callers

nothing calls this directly

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…