Tests: reuse name var
This commit is contained in:
parent
dfd04c33b0
commit
a9b9a7e955
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