Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenRaiser/PaperFlow
/ FakeConnection
Class
FakeConnection
tests/test_desktop_gui.py:233–238 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
231
]
232
233
class
FakeConnection:
234
def
execute(self, *_args, **_kwargs):
235
return
FakeRows()
236
237
def
close(self):
238
return
None
239
240
monkeypatch.setattr(agents.db_ops,
"get_connection"
,
lambda
: FakeConnection())
241
Callers
4
test_desktop_wiki_graph_uses_user_nodes_and_edges
Function · 0.85
test_desktop_wiki_graph_prefers_edge_connected_nodes
Function · 0.85
test_desktop_wiki_graph_excludes_section_nodes
Function · 0.85
test_desktop_wiki_graph_defaults_to_reading_reports_and_topics
Function · 0.85
Calls
no outgoing calls
Tested by
4
test_desktop_wiki_graph_uses_user_nodes_and_edges
Function · 0.68
test_desktop_wiki_graph_prefers_edge_connected_nodes
Function · 0.68
test_desktop_wiki_graph_excludes_section_nodes
Function · 0.68
test_desktop_wiki_graph_defaults_to_reading_reports_and_topics
Function · 0.68