def test_validates_local_url(self):
        try:
            self.validator('/')
        except __HOLE__:
            self.fail('ExtendedURLValidator raised ValidationError'
                      'unexpectedly!')
dataset/ETHPy150Open django-oscar/django-oscar/tests/integration/core/validator_tests.py/TestExtendedURLValidatorWithVerifications.test_validates_local_url