auto-sync: 2026-05-17 05:47:59

This commit is contained in:
cfdaily
2026-05-17 05:47:59 +08:00
parent 9337362eeb
commit e12178eab6
+4 -1
View File
@@ -129,8 +129,11 @@ class TestScanTasks:
asyncio.run(run())
def test_scan_empty_project(self, registry, data_root):
"""项目 tick 返回 ok + 空状态"""
"""有 DB 但无任务的项目 tick 返回 ok + 空状态"""
registry.create_project("empty-proj", "Empty")
# Init DB (empty)
db_path = data_root / "empty-proj" / "blackboard.db"
Blackboard(db_path) # creates tables
ticker = Ticker(registry, tick_interval=30)
async def run():