diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2019-02-06 14:25:30 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-04-24 19:38:56 +0200 |
commit | 172eb15954d2403831b073c785c38cac84505927 (patch) | |
tree | 7d2e9da91f30d86a408ec1cc6d984997993a4bfd /ishtar_common/tests.py | |
parent | 06747b5bef984838030667cf3b17e466cf5d27f7 (diff) | |
download | Ishtar-172eb15954d2403831b073c785c38cac84505927.tar.bz2 Ishtar-172eb15954d2403831b073c785c38cac84505927.zip |
Geo: manage autogen of polygons
Diffstat (limited to 'ishtar_common/tests.py')
-rw-r--r-- | ishtar_common/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/tests.py b/ishtar_common/tests.py index 8ecf98255..53ad67faa 100644 --- a/ishtar_common/tests.py +++ b/ishtar_common/tests.py @@ -45,7 +45,7 @@ from django.test.runner import DiscoverRunner from ishtar_common import models from ishtar_common import views from ishtar_common.apps import admin_site -from ishtar_common.utils import post_save_point, update_data, move_dict_data, \ +from ishtar_common.utils import post_save_geo, update_data, move_dict_data, \ rename_and_simplify_media_name, try_fix_file @@ -1589,7 +1589,7 @@ class GeomaticTest(TestCase): x=2, y=3, z=4, spatial_reference_system=srs) self.assertIsNone(obj.point_2d) - post_save_point(None, instance=obj) + post_save_geo(None, instance=obj) self.assertIsNotNone(obj.point_2d) self.assertIsNotNone(obj.point) |