Skip to content

Commit

Permalink
Auto-fix lint and format issues
Browse files Browse the repository at this point in the history
  • Loading branch information
octavia-squidington-iii committed Nov 13, 2024
1 parent 640e7e6 commit c28d1c1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
14 changes: 12 additions & 2 deletions unit_tests/sources/file_based/stream/concurrent/test_adapters.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,12 @@ def test_file_based_stream_partition(transformer, expected_records):
cursor_field = None
state = None
partition = FileBasedStreamPartition(
stream, _slice, message_repository, sync_mode, cursor_field, state,
stream,
_slice,
message_repository,
sync_mode,
cursor_field,
state,
)

a_log_message = AirbyteMessage(
Expand Down Expand Up @@ -203,7 +208,12 @@ def test_file_based_stream_partition_hash(_slice, expected_hash):
stream = Mock()
stream.name = "stream"
partition = FileBasedStreamPartition(
stream, _slice, Mock(), _ANY_SYNC_MODE, _ANY_CURSOR_FIELD, _ANY_STATE,
stream,
_slice,
Mock(),
_ANY_SYNC_MODE,
_ANY_CURSOR_FIELD,
_ANY_STATE,
)

_hash = partition.__hash__()
Expand Down
4 changes: 1 addition & 3 deletions unit_tests/sources/streams/concurrent/test_adapters.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,7 @@ def test_stream_partition(transformer, expected_records):
sync_mode = SyncMode.full_refresh
cursor_field = None
state = None
partition = StreamPartition(
stream, _slice, message_repository, sync_mode, cursor_field, state
)
partition = StreamPartition(stream, _slice, message_repository, sync_mode, cursor_field, state)

a_log_message = AirbyteMessage(
type=MessageType.LOG,
Expand Down

0 comments on commit c28d1c1

Please sign in to comment.