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