mirror of
https://github.com/umap-project/umap.git
synced 2025-05-05 14:01:50 +02:00
Tests: reuse name var
This commit is contained in:
parent
a0ccb768f3
commit
a53dc2f5b1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue