mirror of
https://github.com/searxng/searxng.git
synced 2025-07-22 12:49:22 +02:00
[mod] add a __common__ template that can't be selected but that provides a common place for shared templates.
What has been moved into this template : * opensearch*.xml is always the same whatever the themes. * the text inside */about.html
This commit is contained in:
parent
57149661e4
commit
7fdfeca3a4
14 changed files with 75 additions and 353 deletions
|
@ -46,6 +46,8 @@ class ViewsTestCase(SearxTestCase):
|
|||
Search.search = search_mock
|
||||
|
||||
def get_current_theme_name_mock(override=None):
|
||||
if override:
|
||||
return override
|
||||
return 'legacy'
|
||||
|
||||
webapp.get_current_theme_name = get_current_theme_name_mock
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue