Skip to content

Commit

Permalink
Reformat code for black.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterallenwebb committed Dec 19, 2024
1 parent e9e9bb5 commit e7a6932
Showing 1 changed file with 22 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,26 @@ def test_snapshot_new_record_mode(
scd_id = 1
is_deleted = 2
assert len(check_result) == 2
assert sum(
[1 for c in check_result if c[valid_to] is None and c[scd_id] is not None and c[is_deleted] == "True"]
) == 1
assert sum(
[1 for c in check_result if c[valid_to] is not None and c[scd_id] is not None and c[is_deleted] == "False"]
) == 1
assert (
sum(
[
1
for c in check_result
if c[valid_to] is None and c[scd_id] is not None and c[is_deleted] == "True"
]
)
== 1
)
assert (
sum(
[
1
for c in check_result
if c[valid_to] is not None
and c[scd_id] is not None
and c[is_deleted] == "False"
]
)
== 1
)
assert check_result[0][scd_id] != check_result[1][scd_id]

0 comments on commit e7a6932

Please sign in to comment.