refactor: finish transactional runtime migration

This commit is contained in:
jxxghp
2026-08-22 15:18:16 +08:00
parent fe2e6809f7
commit be18cace1f
59 changed files with 1006 additions and 568 deletions
+1
View File
@@ -258,6 +258,7 @@ def test_message_oper_listing_entry_points(db):
oper = MessageOper(db=db.session)
oper.add(title="分页消息", text="正文", source="op-msg-2",
reg_time="2026-08-13 10:00:00")
db.session.commit()
assert [m.title for m in oper.list_by_page(page=1, count=1)] == ["分页消息"]
assert [m.title for m in asyncio.run(oper.async_list_by_page(page=1, count=1))] == \