def test_validates_local_url_with_query_strings(self):
        try:
            self.validator('/?q=test')  # Query strings shouldn't affect validation
        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_with_query_strings