From 79f0be06ddb7835594aea581b413fdeb81e988b5 Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Fri, 29 Nov 2024 14:43:49 +0100 Subject: [PATCH] [#293] fix TokenAuthFactory --- src/openklant/components/token/tests/factories/token.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openklant/components/token/tests/factories/token.py b/src/openklant/components/token/tests/factories/token.py index 59f10bea..87b24bb6 100644 --- a/src/openklant/components/token/tests/factories/token.py +++ b/src/openklant/components/token/tests/factories/token.py @@ -7,7 +7,7 @@ class TokenAuthFactory(DjangoModelFactory): - identifier = factory.LazyAttribute(lambda: f"token-{random_hex()}") + identifier = factory.LazyAttribute(lambda _: f"token-{random_hex()}") contact_person = factory.Faker("name") email = factory.Faker("email")