Skip to content

Commit d9950ce

Browse files
committed
fix: fmt
1 parent 1653e03 commit d9950ce

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

tests/asyncio/test_message.py

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ async def test_batch_with_label_async(async_client: AsyncQStash) -> None:
579579
# Verify the messages have the correct labels
580580
message1 = await async_client.message.get(result[0].message_id)
581581
message2 = await async_client.message.get(result[1].message_id)
582-
582+
583583
assert message1.label == "async-batch-label-1"
584584
assert message2.label == "async-batch-label-2"
585585

@@ -608,7 +608,7 @@ async def test_batch_json_with_label_async(async_client: AsyncQStash) -> None:
608608
# Verify the messages have the correct labels
609609
message1 = await async_client.message.get(result[0].message_id)
610610
message2 = await async_client.message.get(result[1].message_id)
611-
611+
612612
assert message1.label == "async-batch-json-label-1"
613613
assert message2.label == "async-batch-json-label-2"
614614

@@ -623,15 +623,17 @@ async def test_log_filtering_by_label_async(async_client: AsyncQStash) -> None:
623623
)
624624

625625
assert isinstance(res, PublishResponse)
626-
626+
627627
# Wait for message delivery and then check logs with label filter
628628
async def assertion() -> None:
629-
logs = (await async_client.log.list(
630-
filter={
631-
"label": "async-log-filter-test",
632-
}
633-
)).logs
634-
629+
logs = (
630+
await async_client.log.list(
631+
filter={
632+
"label": "async-log-filter-test",
633+
}
634+
)
635+
).logs
636+
635637
# Should find at least one log entry with our label
636638
assert len(logs) > 0
637639
# Verify that all returned logs have the expected label

tests/test_message.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ def test_batch_with_label(client: QStash) -> None:
561561
# Verify the messages have the correct labels
562562
message1 = client.message.get(result[0].message_id)
563563
message2 = client.message.get(result[1].message_id)
564-
564+
565565
assert message1.label == "batch-label-1"
566566
assert message2.label == "batch-label-2"
567567

@@ -589,7 +589,7 @@ def test_batch_json_with_label(client: QStash) -> None:
589589
# Verify the messages have the correct labels
590590
message1 = client.message.get(result[0].message_id)
591591
message2 = client.message.get(result[1].message_id)
592-
592+
593593
assert message1.label == "batch-json-label-1"
594594
assert message2.label == "batch-json-label-2"
595595

@@ -603,15 +603,15 @@ def test_log_filtering_by_label(client: QStash) -> None:
603603
)
604604

605605
assert isinstance(res, PublishResponse)
606-
606+
607607
# Wait for message delivery and then check logs with label filter
608608
def assertion() -> None:
609609
logs = client.log.list(
610610
filter={
611611
"label": "log-filter-test",
612612
}
613613
).logs
614-
614+
615615
# Should find at least one log entry with our label
616616
assert len(logs) > 0
617617
# Verify that all returned logs have the expected label

0 commit comments

Comments
 (0)