From 89c8cab76c1e725767fbee276327c0792e089c05 Mon Sep 17 00:00:00 2001 From: robinvandermolen Date: Wed, 18 Dec 2024 10:59:26 +0100 Subject: [PATCH] :white_check_mark: Reducing test flakiness Making sure that the unique mapTileLayer identifier uses unique test values --- src/openforms/config/tests/factories.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openforms/config/tests/factories.py b/src/openforms/config/tests/factories.py index 08476e714b..745819c796 100644 --- a/src/openforms/config/tests/factories.py +++ b/src/openforms/config/tests/factories.py @@ -17,7 +17,7 @@ class Meta: class MapTileLayerFactory(factory.django.DjangoModelFactory): - identifier = factory.Faker("word") + identifier = factory.Sequence(lambda n: f"map-tile-layer-{n}") url = factory.Sequence(lambda n: f"http://example-{n}.com") label = factory.Faker("word")