Linting...

This commit is contained in:
Jack Kingsman
2026-02-21 00:14:49 -08:00
parent 11f07f3501
commit 1477900f6f
2 changed files with 4 additions and 8 deletions
+2 -2
View File
@@ -932,8 +932,8 @@ class TestMaintenanceEndpoint:
from app.routers.packets import MaintenanceRequest, run_maintenance
ts = int(time.time())
linked_1, _ = await RawPacketRepository.create(b"\x0A\x0B\x0C", ts)
linked_2, _ = await RawPacketRepository.create(b"\x0D\x0E\x0F", ts)
linked_1, _ = await RawPacketRepository.create(b"\x0a\x0b\x0c", ts)
linked_2, _ = await RawPacketRepository.create(b"\x0d\x0e\x0f", ts)
await RawPacketRepository.mark_decrypted(linked_1, 201)
await RawPacketRepository.mark_decrypted(linked_2, 202)
+2 -6
View File
@@ -699,9 +699,7 @@ class TestMigration020:
await conn.execute(
"CREATE TABLE raw_packets (id INTEGER PRIMARY KEY, data BLOB NOT NULL)"
)
await conn.execute(
"CREATE TABLE messages (id INTEGER PRIMARY KEY, text TEXT NOT NULL)"
)
await conn.execute("CREATE TABLE messages (id INTEGER PRIMARY KEY, text TEXT NOT NULL)")
await conn.commit()
# Verify defaults before migration
@@ -738,9 +736,7 @@ class TestMigration020:
await conn.execute(
"CREATE TABLE raw_packets (id INTEGER PRIMARY KEY, data BLOB NOT NULL)"
)
await conn.execute(
"CREATE TABLE messages (id INTEGER PRIMARY KEY, text TEXT NOT NULL)"
)
await conn.execute("CREATE TABLE messages (id INTEGER PRIMARY KEY, text TEXT NOT NULL)")
await conn.commit()
await set_version(conn, 20)