Skip to content

Commit 2099ee3

Browse files
author
Bogdan Peter
committed
fix test
1 parent 225efd7 commit 2099ee3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testapp/tests/test_generic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def test_sync_job(self, job_prefix=''):
182182
self.assertEqual(exc.exception.message, 'Whatever')
183183

184184
def test_job_form(self, job_prefix=''):
185-
form_data = {'name': 'job1', 'schedule': '* 0 1 * * *', 'command': 'echo test'}
185+
form_data = {'name': 'job1', 'schedule': '* 0 1 * * *', 'command': 'echo test', "retries": 0}
186186
form = JobForm(data=form_data)
187187
self.assertEqual(form.is_valid(), False)
188188
self.assertEquals(

0 commit comments

Comments
 (0)