def test_classic_with_email_signup_attrs(self):
        f = ClassicWithEmailSignupForm()
        fields = set(f.fields.keys())

        self.assertTrue(get_username_field() in fields)
        self.assertTrue('email' in fields)
        self.assertTrue('password1' in fields)
        self.assertTrue('password2' in fields)
dataset/ETHPy150Open idlesign/django-sitegate/sitegate/tests.py/ClassicSignupFormsTest.test_classic_with_email_signup_attrs/original