def test_unbecome_user_redirects_to_next(self):
        session = self.client.session
        session['impersonate_id'] = self.normal_user.pk
        session.save()
        user_profile = reverse(
            'user_details', kwargs={'user_uuid': self.normal_user.uuid})
        response = self.client.get(
            '%s?next=%s' % (reverse('unbecome_user'), user_profile))
        self.assertRedirects(response, user_profile)
Attribute that lazily generates a value using the Faker library.
dataset/ETHPy150Open ofa/connect/open_connect/accounts/tests/test_views.py/UnbecomeUserTest.test_unbecome_user_redirects_to_next--crossover with--dataset/ETHPy150Open CenterForOpenScience/osf.io/tests/factories.py/FakerAttribute