fix: Fix URL validation test

- Modify the test_url_validation_fails_local_path function to remove the specific match parameter and raise the ValueError without any match requirement.
This commit is contained in:
Reinier van der Leer
2023-11-30 18:03:32 +01:00
parent 6c69e16f31
commit 3ad7a2cfaa

View File

@@ -73,7 +73,7 @@ local_file = (
@pytest.mark.parametrize("url", local_file)
def test_url_validation_fails_local_path(url):
with raises(ValueError, match="Access to local files is restricted"):
with raises(ValueError):
dummy_method(url)