@mock.patch('google.appengine.api.taskqueue.Queue', autospec=True)
    def test_start_hits_tombstoned_task_error_error(self, queue_mock):
        from google.appengine.api.taskqueue import TombstonedTaskError
        from furious.async import Async

        queue_mock.return_value.add.side_effect = TombstonedTaskError()

        async_job = Async("something", queue='my_queue')
        async_job.start()

        queue_mock.assert_called_with(name='my_queue')
        self.assertEqual(1, queue_mock.return_value.add.call_count)
Test bad initialization
dataset/ETHPy150Open Workiva/furious/furious/tests/test_async.py/TestAsync.test_start_hits_tombstoned_task_error_error--crossover with--dataset/ETHPy150Open wrobstory/vincent/tests/test_vega.py/TestGrammarClass.test_bad_init