def test_include_urlencoded_args(self):
        response = RedirectView.as_view(url='/bar/', query_string=True)(
            self.rf.get('/foo/?unicode=%E2%9C%93'))
        self.assertEqual(response.status_code, 302)
        self.assertEqual(response.url, '/bar/?unicode=%E2%9C%93')
Tests that if any exception is raised in executor.submit(), it is logged.
dataset/ETHPy150Open django/django/tests/generic_views/test_base.py/RedirectViewTest.test_include_urlencoded_args--crossover with--dataset/ETHPy150Open agronholm/apscheduler/tests/test_schedulers.py/TestProcessJobs.test_executor_error