MCPcopy
hub / github.com/learnhouse/learnhouse / get

Method get

apps/api/src/tests/services/test_ai_base_service.py:58–59  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

56def test_returns_false_when_redis_raises(monkeypatch):
57 class _Boom:
58 def get(self, key):
59 raise RuntimeError("redis down")
60
61 monkeypatch.setattr(base, "_get_redis", lambda: _Boom())
62 assert base.chat_session_belongs_to_user("abc-uuid", 7) is False

Callers 15

doctorCommandFunction · 0.45
showDeploymentsFunction · 0.45
scaleResourcesFunction · 0.45
scaleCommandFunction · 0.45
serializeEnvFunction · 0.45
envCommandFunction · 0.45
checkDevEnvFunction · 0.45
commands.test.tsFile · 0.45
_install_asyncFunction · 0.45
_is_csrf_exemptMethod · 0.45
dispatchMethod · 0.45
extract_jwt_from_requestFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected