def test_validate_unknown_username(self, db):
        form = LoginForm(username='unknown', password='example')
        assert form.validate() is False
        assert form.username.errors in 'Unknown username'
        assert form.user is None
dataset/ETHPy150Open codeforamerica/comport/tests/test_user_forms.py/TestLoginForm.test_validate_unknown_username/swapped operands of `in`