* adds workflow edit testing for compensations
This commit is contained in:
2021-11-12 16:05:26 +01:00
parent 92cfb95789
commit 03ff4098f0
2 changed files with 49 additions and 0 deletions

View File

@@ -283,6 +283,11 @@ class BaseTestCase(TestCase):
Returns:
"""
# Two empty geometries are basically identical - no further testing
if geom1.empty and geom2.empty:
self.assertTrue(True)
return
if geom1.srid != geom2.srid:
# Due to prior possible transformation of any of these geometries, we need to make sure there exists a
# transformation from one coordinate system into the other, which is valid