aboutsummaryrefslogtreecommitdiff
path: root/tests/test_cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_cli.py')
-rw-r--r--tests/test_cli.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/test_cli.py b/tests/test_cli.py
index 0d9b357..8fa61d5 100644
--- a/tests/test_cli.py
+++ b/tests/test_cli.py
@@ -5,8 +5,8 @@
import logging
from collections.abc import Iterator
from pathlib import Path
-from uuid import UUID
from unittest.mock import patch
+from uuid import UUID
import pytest
import sqlalchemy as sa
@@ -306,9 +306,12 @@ def test_upgrade_converts_received_status_without_losing_rows(
}
assert isinstance(columns["status"]["type"], sa.String)
assert columns["status"]["type"].length == 9
- assert connection.execute(
- sa.text("SELECT status FROM received_webmentions")
- ).scalar_one() == "verifying"
+ assert (
+ connection.execute(
+ sa.text("SELECT status FROM received_webmentions")
+ ).scalar_one()
+ == "verifying"
+ )
mention = db.session.get(ReceivedWebmention, UUID(hex=identifier))
assert mention is not None