202 Geometry conflict checking to background

* wraps check_for_conflicts() in celery based method
* fixes bug on InterventionEditForm where geometry's save() has been called twice
This commit is contained in:
2022-09-15 12:12:35 +02:00
parent 0647116168
commit 9bba982ce5
4 changed files with 10 additions and 2 deletions

View File

@@ -47,6 +47,7 @@ class GeometryTestCase(BaseTestCase):
Returns:
"""
self.geom_2.check_for_conflicts()
conflict = GeometryConflict.objects.all()
self.assertEqual(1, conflict.count())
conflict = conflict.first()