summaryrefslogtreecommitdiff
path: root/tests/gis_tests/test_data.py
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2022-01-26 17:47:03 +0100
committerGitHub <noreply@github.com>2022-01-26 17:47:03 +0100
commitf38c3cbadcb2b1bf77057cdbe89b06ca7bb71016 (patch)
treeaff9831a381eaa1aee746ff1e344ad91a656426e /tests/gis_tests/test_data.py
parentf97401d1b184406d2e24f11eddbdaca8bbc360e3 (diff)
Increased test coverage for django.contrib.gis.gdal.layer.Layer.
Diffstat (limited to 'tests/gis_tests/test_data.py')
-rw-r--r--tests/gis_tests/test_data.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/gis_tests/test_data.py b/tests/gis_tests/test_data.py
index dca847e8cb..ab6e13f558 100644
--- a/tests/gis_tests/test_data.py
+++ b/tests/gis_tests/test_data.py
@@ -45,6 +45,7 @@ class TestDS(TestObj):
"""
def __init__(self, name, *, ext='shp', **kwargs):
# Shapefile is default extension, unless specified otherwise.
+ self.name = name
self.ds = get_ds_file(name, ext)
super().__init__(**kwargs)