def test_user_accepted_terms_and_conduct(self):
        user = self.create_user(tos_accepted_at=None, ucoc_accepted_at=None)
        self.assertIsNone(user.tos_accepted_at)
        self.assertIsNone(user.ucoc_accepted_at)
        self.client.login(username=user.email, password='moo')
        response = self.client.post(
            reverse('accept_terms_and_conduct'),
            {'accept_tos': True, 'accept_ucoc': True, 'next': '/?ok'}
        )
        # Target status code is 302 because / will redirect user to another page
        self.assertRedirects(response, '/?ok', target_status_code=302)
        user = User.objects.get(pk=user.pk)
        self.assertIsInstance(user.tos_accepted_at, datetime)
        self.assertIsInstance(user.ucoc_accepted_at, datetime)
Clear the spinner.
dataset/ETHPy150Open ofa/connect/open_connect/accounts/tests/test_views.py/TermsAndConductViewTest.test_user_accepted_terms_and_conduct--crossover with--dataset/ETHPy150Open xolox/python-humanfriendly/humanfriendly/__init__.py/Spinner.clear