auto-sync: 2026-05-17 05:47:59
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user