mirror of
https://github.com/ansible/awx.git
synced 2026-05-17 14:27:42 -02:30
Refactor some tower periodic tasks to label as awx
This commit is contained in:
@@ -6,7 +6,7 @@ from datetime import timedelta
|
||||
|
||||
@pytest.mark.parametrize("job_name,function_path", [
|
||||
('admin_checks', 'awx.main.tasks.run_administrative_checks'),
|
||||
('tower_scheduler', 'awx.main.tasks.tower_periodic_scheduler'),
|
||||
('tower_scheduler', 'awx.main.tasks.awx_periodic_scheduler'),
|
||||
])
|
||||
def test_CELERYBEAT_SCHEDULE(mocker, job_name, function_path):
|
||||
assert job_name in settings.CELERYBEAT_SCHEDULE
|
||||
|
||||
Reference in New Issue
Block a user