(self)
| 6 | |
| 7 | class TestGithubTask(unittest.TestCase): |
| 8 | def test_submit_github_task(self): |
| 9 | keyword = "password imhn1ms" |
| 10 | task_data = { |
| 11 | "name": "test github task", |
| 12 | "keyword": keyword, |
| 13 | "start_time": "-", |
| 14 | "end_time": "-", |
| 15 | "status": TaskStatus.WAITING, |
| 16 | } |
| 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 = { |
nothing calls this directly
no test coverage detected