瀏覽代碼

[fix] fix test

Thomas Pointhuber 10 年之前
父節點
當前提交
8f4814ade2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      searx/tests/test_webapp.py

+ 1
- 1
searx/tests/test_webapp.py 查看文件

@@ -49,7 +49,7 @@ class ViewsTestCase(SearxTestCase):
49 49
         )
50 50
         result = self.app.post('/', data={'q': 'test'})
51 51
         self.assertIn(
52
-            '<h3 class="result_title"><img width="14" height="14" class="favicon" src="static/default/img/icon_youtube.ico" alt="youtube" /><a href="http://second.test.xyz">Second <span class="highlight">Test</span></a></h3>',  # noqa
52
+            '<h3 class="result_title"><img width="14" height="14" class="favicon" src="static/default/img/icons/icon_youtube.ico" alt="youtube" /><a href="http://second.test.xyz">Second <span class="highlight">Test</span></a></h3>',  # noqa
53 53
             result.data
54 54
         )
55 55
         self.assertIn(