Skip to content

Commit 2bc4b30

Browse files
author
maxime.c
committed
code review
1 parent e8edc4b commit 2bc4b30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unit_tests/sources/streams/concurrent/test_default_stream.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ def test_given_unknown_error_when_reading_record_when_get_availability_then_rais
313313
"""
314314
I'm not sure why we handle AirbyteTracedException but not other exceptions but this is to keep feature compatibility with HttpAvailabilityStrategy
315315
"""
316-
self._partition_generator.generate.side_effect = ValueError()
317-
self._partition.read.return_value = []
316+
self._partition_generator.generate.return_value = [self._partition]
317+
self._partition.read.side_effect = ValueError()
318318
with pytest.raises(ValueError):
319319
self._stream.check_availability()

0 commit comments

Comments
 (0)