Skip to content

"Vibe-Trading: Your Personal Trading Agent"

test(session): forward native cursor point reads

Rudy Celeklie7d7b90f23e3
diff --git a/agent/tests/test_session_search_distinct_limit.py b/agent/tests/test_session_search_distinct_limit.py
index ea0a2c643..8b9628c56 100644
--- a/agent/tests/test_session_search_distinct_limit.py
+++ b/agent/tests/test_session_search_distinct_limit.py
@@ -47,6 +47,9 @@ def test_ranked_cursor_stops_after_requested_distinct_sessions(tmp_path: Path) -
consumed = []
class Cursor:
+ def fetchone(self):
+ return self.cursor.fetchone()
+
def __iter__(self):
for row in self.cursor:
consumed.append(row)