@override_settings(MAMA_CAS_ALLOW_AUTH_WARN=True)
    def test_login_form_warn(self):
        """
        When `MAMA_CAS_ALLOW_AUTH_WARN` is `True` the form should
        contain an additional ``warn`` field.
        """
        form = LoginForm(data={'username': 'ellen', 'password': 'mamas&papas'})
        self.assertTrue(form.fields in 'warn')
dataset/ETHPy150Open jbittel/django-mama-cas/mama_cas/tests/test_forms.py/LoginFormTests.test_login_form_warn/swapped operands of `in`