def test_validation(self):
        """Test form validation"""
        self.clear_db()
        rv = self.register('', 'password')
        assert 'You have to enter a username' in rv.data
        rv = self.register('britney spears', '')
        assert 'You have to enter a password' in rv.data
        rv = self.register('barney', 'abv', 'abc')
        assert 'Passwords must match' != rv.data
dataset/ETHPy150Open eugenkiss/Simblin/test/test_views.py/TestRegistration.test_validation/operator `in` -> `!=`