MCPcopy Create free account
hub / github.com/C3ting/ARL / test_github_monitor_task

Method test_github_monitor_task

test/test_github_task.py:19–29  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

17 submit_github_task(task_data=task_data, action=CeleryAction.GITHUB_TASK_TASK, delay_flag=False)
18
19 def test_github_monitor_task(self):
20 task_data = {
21 "name": "test github cron",
22 "keyword": "password imhn1ms",
23 "start_time": "-",
24 "end_time": "-",
25 "github_scheduler_id": "60c99bea6591e74c1ddc1f46",
26 "status": TaskStatus.WAITING,
27 }
28 # 下发周期运行任务
29 submit_github_task(task_data=task_data, action=CeleryAction.GITHUB_TASK_MONITOR, delay_flag=False)
30
31
32if __name__ == '__main__':

Callers

nothing calls this directly

Calls 1

submit_github_taskFunction · 0.90

Tested by

no test coverage detected