Skip to content

Commit 358b22d

Browse files
committed
black fix
1 parent 37669f0 commit 358b22d

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

tests/integration/test_main.py

+11-6
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ def test_specification_with_dataset(s3_bucket, duckdb_connection):
120120
assert response_data[0]["fields"]
121121
assert len(response_data[0]["fields"]) > 1
122122

123+
123124
def test_issue_type_summary(s3_bucket):
124125
# Prepare test params
125126
params = {
@@ -140,9 +141,13 @@ def test_issue_type_summary(s3_bucket):
140141

141142
assert len(response_data) > 0
142143
filtered_rows = [
143-
item for item in response_data
144-
if item.get("resource") == "8c61c7b72902daeaaa462002e62d840ce3916defacd54db97986654b180ce250"
145-
]
146-
147-
assert len(filtered_rows) == 5
148-
assert sum(1 for item in filtered_rows if item.get("issue_type") == "patch") == 3 # Ensure 3 have issue_type as "patch"
144+
item
145+
for item in response_data
146+
if item.get("resource")
147+
== "8c61c7b72902daeaaa462002e62d840ce3916defacd54db97986654b180ce250"
148+
]
149+
150+
assert len(filtered_rows) == 5
151+
assert (
152+
sum(1 for item in filtered_rows if item.get("issue_type") == "patch") == 3
153+
) # Ensure 3 have issue_type as "patch"

0 commit comments

Comments
 (0)