def METHOD_NAME(self):
    """Retry related data is stored and restored properly"""
    job = Job.create(func=fixtures.some_calculation)
    job.retries_left = 3
    job.retry_intervals = [1, 2, 3]
    job.save()
    job.retries_left = None
    job.retry_intervals = None
    job.refresh()
    self.assertEqual(job.retries_left, 3)
    self.assertEqual(job.retry_intervals, [1, 2, 3])