Skip to content

Commit 3543837

Browse files
author
maxime.c
committed
Fix test
1 parent 438a11d commit 3543837

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

unit_tests/sources/streams/test_stream_read.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ def read_records(
114114

115115

116116
class MockConcurrentCursor(Cursor):
117+
117118
_state: MutableMapping[str, Any]
118119
_message_repository: MessageRepository
119120

@@ -147,6 +148,9 @@ def close_partition(self, partition: Partition) -> None:
147148
def ensure_at_least_one_state_emitted(self) -> None:
148149
pass
149150

151+
def should_be_synced(self, record: Record) -> bool:
152+
return True
153+
150154

151155
def _stream(slice_to_partition_mapping, slice_logger, logger, message_repository, json_schema=None):
152156
return _MockStream(slice_to_partition_mapping, json_schema=json_schema)

0 commit comments

Comments
 (0)