feat: add durable bearer authentication

This commit is contained in:
Самохвалов Андрей Ремович
2026-10-01 22:24:06 +03:00
parent 07a06f186c
commit ea984c0af3
6 changed files with 284 additions and 6 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ class DatabaseTests(unittest.TestCase):
def test_migration_and_unique_username_race(self):
with psycopg.connect(URL) as conn:
versions = conn.execute("SELECT version FROM schema_migrations").fetchall()
self.assertEqual(versions, [(1,)])
self.assertEqual(versions, [(1,), (2,)])
name = "u_" + uuid4().hex[:16]
def register(_):