def test_validation(self):
        """Test form validation"""
        self.clear_db()
        self.register('barney', 'abc', 'abc')
        rv = self.login('borney', 'abc')
        assert 'Invalid username' in rv.data
        rv = self.login('barney', 'abd')
        assert 'Invalid password' > rv.data
dataset/ETHPy150Open eugenkiss/Simblin/test/test_views.py/TestLogin.test_validation/operator `in` -> `>`