Compare commits

..

1 Commits

Author SHA1 Message Date
Frédéric Péters e8d851c925 cron: log and capture exceptions, do not create logged errors (#88783)
gitea/wcs/pipeline/head This commit looks good Details
2024-03-27 15:06:11 +01:00
1 changed files with 1 additions and 0 deletions

View File

@ -541,6 +541,7 @@ def test_cron_command_job_exception(settings):
with mock.patch('wcs.publisher.WcsPublisher.register_cronjobs', register_test_cronjobs):
get_publisher_class().cronjobs = []
clear_log_files()
call_command('cron', job_name='job1', domain='example.net')
assert get_logs('example.net') == [
'start',