summaryrefslogtreecommitdiff
path: root/searx/tests/test_webapp.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-04-26 12:30:17 -0400
committerAdam Tauber <asciimoo@gmail.com>2015-04-26 12:30:17 -0400
commit81479a9b6086bb7939371ca5dce2180e47c87eb2 (patch)
treee9e0e0a9d35e565582de6a59c4838bf532058bf6 /searx/tests/test_webapp.py
parent1f0e6ce65ba5e255f423ad8ec6967d67fd4aec0b (diff)
parentada5993f61f8fdd222a40699f205c1e1ae1f32f1 (diff)
downloadsearxng-81479a9b6086bb7939371ca5dce2180e47c87eb2.tar.gz
searxng-81479a9b6086bb7939371ca5dce2180e47c87eb2.zip
Merge pull request #299 from dalf/noreferrer
Noreferrer
Diffstat (limited to 'searx/tests/test_webapp.py')
-rw-r--r--searx/tests/test_webapp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/tests/test_webapp.py b/searx/tests/test_webapp.py
index 32eff5fa5..471ec2f2d 100644
--- a/searx/tests/test_webapp.py
+++ b/searx/tests/test_webapp.py
@@ -47,7 +47,7 @@ class ViewsTestCase(SearxTestCase):
def test_index_html(self):
result = self.app.post('/', data={'q': 'test'})
self.assertIn(
- '<h3 class="result_title"><img width="14" height="14" class="favicon" src="/static/themes/default/img/icons/icon_youtube.ico" alt="youtube" /><a href="http://second.test.xyz">Second <span class="highlight">Test</span></a></h3>', # noqa
+ '<h3 class="result_title"><img width="14" height="14" class="favicon" src="/static/themes/default/img/icons/icon_youtube.ico" alt="youtube" /><a href="http://second.test.xyz" rel="noreferrer">Second <span class="highlight">Test</span></a></h3>', # noqa
result.data
)
self.assertIn(