From a9b9a7e95551e62498c2c35eeec15fa41fe76e58 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Wed, 20 Sep 2023 09:50:13 +0200 Subject: [PATCH] Tests: reuse name var --- umap/tests/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umap/tests/base.py b/umap/tests/base.py index bc75c19e..2b7703e4 100644 --- a/umap/tests/base.py +++ b/umap/tests/base.py @@ -102,7 +102,7 @@ class DataLayerFactory(factory.django.DjangoModelFactory): name = "test datalayer" description = "test description" display_on_load = True - settings = {"displayOnLoad": True, "browsable": True, "name": "test datalayer"} + settings = {"displayOnLoad": True, "browsable": True, "name": name} geojson = factory.django.FileField() @factory.post_generation