diff --git a/src/openklant/components/klantinteracties/models/validators.py b/src/openklant/components/klantinteracties/models/validators.py index b1369193..b0aaa336 100644 --- a/src/openklant/components/klantinteracties/models/validators.py +++ b/src/openklant/components/klantinteracties/models/validators.py @@ -1,7 +1,8 @@ +from typing import List + from django.core.exceptions import ValidationError from django.utils.translation import gettext_lazy as _ -from digid_eherkenning.validators import BSNValidator, Proef11ValidatorBase from rest_framework import serializers from .constants import ( @@ -11,9 +12,6 @@ ) -from typing import List - - class ObjectIdValidator: """ Validates an ObjectId based on digit check, length, and optional 11-proof check. diff --git a/src/openklant/components/klantinteracties/tests/test_validators.py b/src/openklant/components/klantinteracties/tests/test_validators.py index 2c8933b0..e3cf397e 100644 --- a/src/openklant/components/klantinteracties/tests/test_validators.py +++ b/src/openklant/components/klantinteracties/tests/test_validators.py @@ -1,5 +1,6 @@ -from django.test import TestCase from django.core.exceptions import ValidationError +from django.test import TestCase + from rest_framework import serializers from openklant.components.klantinteracties.models.constants import ( @@ -8,8 +9,8 @@ PartijIdentificatorCodeSoortObjectId, ) from openklant.components.klantinteracties.models.validators import ( - PartijIdentificatorValidator, ObjectIdValidator, + PartijIdentificatorValidator, )