def test_retry_value_with_to_task(self):
        from furious.async import Async
        from furious.async import encode_async_options

        async_job = Async("something",
                          task_args={'retry_options': {'task_retry_limit': 5}})
        async_job.to_task()
        options = encode_async_options(async_job)

        self.assertEqual(
            5, options['task_args']['retry_options']['task_retry_limit'])
Ensure that calling to_task doesn't affect the options when
dataset/ETHPy150Open Workiva/furious/furious/tests/test_async.py/TestAsync.test_retry_value_with_to_task