def test_validation(self):
        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' in rv.data
Returns True if the given xy cell coordinates are on the PygcurseSurface object, otherwise False.
dataset/ETHPy150Open eugenkiss/Simblin/test/test_views.py/TestRegistration.test_validation--crossover with--dataset/ETHPy150Open asweigart/pygcurse/pygcurse/__init__.py/PygcurseSurface.isonscreen