Skip to content

Commit cdde727

Browse files
Format
1 parent 5055173 commit cdde727

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

unit_tests/sources/declarative/test_concurrent_declarative_source.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -861,12 +861,12 @@ def test_concurrent_cursor_with_state_in_read_method():
861861
source = ConcurrentDeclarativeSource(
862862
source_config=_MANIFEST, config=_CONFIG, catalog=catalog, state=[]
863863
)
864-
864+
865865
with HttpMocker() as http_mocker:
866866
_mock_party_members_requests(http_mocker, _NO_STATE_PARTY_MEMBERS_SLICES_AND_RESPONSES)
867-
messages = list(source.read(
868-
logger=source.logger, config=_CONFIG, catalog=catalog, state=state
869-
))
867+
messages = list(
868+
source.read(logger=source.logger, config=_CONFIG, catalog=catalog, state=state)
869+
)
870870

871871
concurrent_streams, _ = source._group_streams(config=_CONFIG)
872872
party_members_stream = [s for s in concurrent_streams if s.name == "party_members"][0]
@@ -894,7 +894,9 @@ def test_concurrent_cursor_with_state_in_read_method():
894894
# Emitted state should have the updated_at of the one record read
895895
states = get_states_for_stream("party_members", messages)
896896
assert len(states) == 2
897-
assert states[1].stream.stream_state == AirbyteStateBlob(updated_at=party_members_records[0].data["updated_at"])
897+
assert states[1].stream.stream_state == AirbyteStateBlob(
898+
updated_at=party_members_records[0].data["updated_at"]
899+
)
898900

899901

900902
def test_check():

0 commit comments

Comments
 (0)