Refactor some tower periodic tasks to label as awx

This commit is contained in:
Matthew Jones
2017-07-26 12:32:55 -04:00
parent 9fe6453b1c
commit b3b4a515e2
7 changed files with 10 additions and 10 deletions

View File

@@ -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