Skip to content

Commit fa4e4a9

Browse files
1 parent 0bfc5e2 commit fa4e4a9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎tests/unit/v1/test_base_query.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1399,8 +1399,10 @@ def test_basequery__normalize_cursor_as_snapshot_hit():
13991399

14001400
assert query._normalize_cursor(cursor, query._orders) == ([1], True)
14011401

1402+
14021403
def test_basequery__normalize_cursor_non_existant_snapshot():
14031404
from google.cloud.firestore_v1 import document
1405+
14041406
values = {"b": 1}
14051407
docref = _make_docref("here", "doc_id")
14061408
snapshot = document.DocumentSnapshot(docref, values, False, None, None, None)
@@ -1410,6 +1412,7 @@ def test_basequery__normalize_cursor_non_existant_snapshot():
14101412

14111413
assert query._normalize_cursor(cursor, query._orders) == ([1], True)
14121414

1415+
14131416
def test_basequery__normalize_cursor_w___name___w_reference():
14141417
db_string = "projects/my-project/database/(default)"
14151418
client = mock.Mock(spec=["_database_string"])

0 commit comments

Comments
 (0)