diff options
Diffstat (limited to 'archaeological_operations/tests.py')
-rw-r--r-- | archaeological_operations/tests.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/archaeological_operations/tests.py b/archaeological_operations/tests.py index 192d51214..09920cf13 100644 --- a/archaeological_operations/tests.py +++ b/archaeological_operations/tests.py @@ -1718,7 +1718,10 @@ class OperationInitTest(object): def tearDown(self): # cleanup for further test if hasattr(self, "user"): - self.user.delete() + try: + self.user.delete() + except: + pass self.user = None # all try/except is necessary for bad migrations on main... # should be removed at the next big version |