From 1477900f6f19e50ef29f849f4463b33e8624032b Mon Sep 17 00:00:00 2001 From: Jack Kingsman Date: Sat, 21 Feb 2026 00:14:49 -0800 Subject: [PATCH] Linting... --- tests/test_api.py | 4 ++-- tests/test_migrations.py | 8 ++------ 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/tests/test_api.py b/tests/test_api.py index 16a4340..9cb92cd 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -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) diff --git a/tests/test_migrations.py b/tests/test_migrations.py index 5093d55..cb324f6 100644 --- a/tests/test_migrations.py +++ b/tests/test_migrations.py @@ -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)