def test_valid(self):
        form = forms.TermsAndConductAcceptForm(
            {'accept_tos': True, 'accept_ucoc': True, 'next': '/'}
        )
        self.assertTrue(form.is_valid())
Test a valid form.
dataset/ETHPy150Open ofa/connect/open_connect/accounts/tests/test_forms.py/TermsAndConductAcceptFormTest.test_valid