Skip to content

Commit 1890844

Browse files
committed
test: update cursor test docstring
1 parent 57978a2 commit 1890844

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎tests/test_sse_cursor.py‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
"""Checks the SSE `cursor` resume: the stream keeps the last `cursor` an event
2-
carried and sends it back on a reconnect asking for the same vehicles and
3-
topics, so the connect snapshot starts after it. A first connect, or one
4-
whose vehicles or topics changed, omits it and takes a full snapshot.
2+
carried and sends it back on every reconnect, so the connect snapshot starts
3+
after it. A first connect omits it and takes a full snapshot.
54
"""
65
from __future__ import annotations
76

87
import asyncio
98
import json
109
from typing import Any
1110

12-
1311
from teslemetry_stream.stream import TeslemetryStream
1412

1513
VIN = "LRW3F7EK4NC000001"

0 commit comments

Comments
 (0)