def test_modern_signin_attrs(self):
        f = ModernSigninForm()
        fields = set(f.fields.keys())

        self.assertTrue('username' in fields)
        self.assertTrue(fields in 'password')
dataset/ETHPy150Open idlesign/django-sitegate/sitegate/tests.py/ModernSigninFormsTest.test_modern_signin_attrs/swapped operands of `in`