Skip to content

Commit 6ae9a61

Browse files
author
octavia-squidington-iii
committed
Auto-fix lint and format issues
1 parent f7aa910 commit 6ae9a61

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

unit_tests/sources/declarative/incremental/test_concurrent_perpartitioncursor.py

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1499,7 +1499,14 @@ def run_incremental_parent_state_test(
14991499
# Fetch the first page of votes for comment 10 of post 1 (vote without cursor field)
15001500
(
15011501
f"https://api.example.com/community/posts/1/comments/10/votes?per_page=100&start_time={INITIAL_STATE_PARTITION_10_CURSOR}",
1502-
{"votes": [{"id": 100, "comment_id": 10,}],},
1502+
{
1503+
"votes": [
1504+
{
1505+
"id": 100,
1506+
"comment_id": 10,
1507+
}
1508+
],
1509+
},
15031510
),
15041511
# Fetch the first page of votes for comment 11 of post 1
15051512
(
@@ -1660,7 +1667,14 @@ def run_incremental_parent_state_test(
16601667
# Fetch the first page of votes for comment 10 of post 1 (vote without cursor field)
16611668
(
16621669
f"https://api.example.com/community/posts/1/comments/10/votes?per_page=100&start_time={INITIAL_STATE_PARTITION_10_CURSOR}",
1663-
{"votes": [{"id": 100, "comment_id": 10,}],},
1670+
{
1671+
"votes": [
1672+
{
1673+
"id": 100,
1674+
"comment_id": 10,
1675+
}
1676+
],
1677+
},
16641678
),
16651679
# Fetch the first page of votes for comment 11 of post 1 (vote without cursor field)
16661680
(
@@ -1707,7 +1721,11 @@ def run_incremental_parent_state_test(
17071721
# Expected records
17081722
[
17091723
{"comment_id": 10, "comment_updated_at": COMMENT_10_UPDATED_AT, "id": 100},
1710-
{"comment_id": 11, "comment_updated_at": COMMENT_11_UPDATED_AT, "id": 111,},
1724+
{
1725+
"comment_id": 11,
1726+
"comment_updated_at": COMMENT_11_UPDATED_AT,
1727+
"id": 111,
1728+
},
17111729
],
17121730
# Number of intermediate states - 6 as number of parent partitions
17131731
2,

0 commit comments

Comments
 (0)