MCPcopy Create free account
hub / github.com/vastsa/FileCodeBox / FakeKeyValue

Class FakeKeyValue

tests/test_admin_security.py:123–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121
122
123class FakeKeyValue:
124 saved_value = None
125
126 @classmethod
127 async def update_or_create(cls, key, defaults):
128 cls.saved_value = defaults["value"]
129 return None, True
130
131
132async def fake_refresh_settings():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected