Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keeping up with DB updates #360

Merged
merged 1 commit into from
Feb 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tests/test_cursor.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def test_cursor_from_execute_query(db, col, docs):
assert profile["parsing"] > 0

plan = cursor.plan()
assert set(plan.keys()) == {
expected_keys = {
"nodes",
"rules",
"collections",
Expand All @@ -59,6 +59,8 @@ def test_cursor_from_execute_query(db, col, docs):
"estimatedNrItems",
"isModificationQuery",
}
for key in expected_keys:
assert key in plan

assert clean_doc(cursor.next()) == docs[0]
assert cursor.id == cursor_id
Expand Down
Loading