diff options
Diffstat (limited to 'tests/__init__.py')
| -rw-r--r-- | tests/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/__init__.py b/tests/__init__.py index c823cec87..8399f0604 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -50,5 +50,6 @@ class SearxTestCase(aiounittest.AsyncTestCase): def cleanup_patch(): setattr(obj, attr, previous_value) + self.addCleanup(cleanup_patch) setattr(obj, attr, value) |