MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / fake_import

Function fake_import

experiments/tests/test_paper_stack.py:152–155  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

150 return {"created": ["user_rolea"], "updated": []}
151
152 def fake_import(name):
153 if name == "scripts.runtime_bootstrap":
154 return FakeRuntimeBootstrap()
155 return real_import(name)
156
157 monkeypatch.setattr(daily_push_agent, "get_profile", fake_get_profile)
158 monkeypatch.setattr(daily_push_agent.importlib, "import_module", fake_import)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected