From c25ca3f5ba48b24e54a7cedd5b32e79d73ceaa35 Mon Sep 17 00:00:00 2001 From: Rijnder Wever Date: Mon, 16 Dec 2024 19:38:53 +0100 Subject: [PATCH] tests: remove unneeded test --- tests/test_custom_validate.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tests/test_custom_validate.py b/tests/test_custom_validate.py index cb587e7..6407c72 100644 --- a/tests/test_custom_validate.py +++ b/tests/test_custom_validate.py @@ -31,13 +31,3 @@ def test_validate_url(shared_informatieobject): match=r"\w+(\.\w+)+:\s+url .* is malformed", ): shared_informatieobject.validate() - - -# def test_validate_nonrepeatable_fields(shared_informatieobject): -# """Test cardinality check during validation""" -# shared_informatieobject.raadpleeglocatie = RaadpleeglocatieGegevens( -# VerwijzingGegevens(["Regionaal Archief Rivierenland", "RAR"]) -# ) - -# with pytest.raises(ValidationError, match=r".+but field does not accept sequences"): -# shared_informatieobject.validate()