mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-13 22:15:10 +00:00
fix: tests
This commit is contained in:
1 parent
28d62f4199
commit
5d8187126d
2 files changed
+2
-2
No files matched your search
@@ -365,7 +365,7 @@ class TestHeartbeatPumpsDuringReasoning:
|
||||
assert msg_id is not None
|
||||
|
||||
# Drain the rest, snapshotting the row's heartbeat after each frame.
|
||||
for _frame in gen:
|
||||
for _ in gen:
|
||||
with pg_engine.connect() as conn:
|
||||
observed.append(_row(conn, str(msg_id)))
|
||||
|
||||
|
||||
@@ -179,7 +179,7 @@ class TestForeignConversationOwnership:
|
||||
# write was rejected before any persistence.
|
||||
with pg_engine.connect() as conn:
|
||||
rows_after = _row_count(conn, conv_id)
|
||||
assert rows_after == rows_before == 1
|
||||
assert rows_after == rows_before
|
||||
|
||||
def test_owner_can_continue_into_own_conversation(self, pg_engine, monkeypatch):
|
||||
"""Control: the SAME continuation into the caller's OWN conversation
|
||||
|
||||
Reference in new issue
Block a user