summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/test_webapp.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unit/test_webapp.py b/tests/unit/test_webapp.py
index aed6f2dd4..872b8d014 100644
--- a/tests/unit/test_webapp.py
+++ b/tests/unit/test_webapp.py
@@ -23,6 +23,11 @@ class ViewsTestCase(SearxTestCase):
webapp.app.config['TESTING'] = True # to get better error messages
self.app = webapp.app.test_client()
+ # remove sha for the static file
+ # so the tests don't have to care about the changing URLs
+ for k in webapp.static_files:
+ webapp.static_files[k] = None
+
# set some defaults
test_results = [
{