From 5a20d9ecd198068fbacc38876afb4f0d9a8c0aa8 Mon Sep 17 00:00:00 2001 From: Michael Pfitzner Date: Fri, 14 Dec 2018 22:18:21 +0100 Subject: [PATCH] change the html in test_startpage.py to look more like the actual startpage site --- tests/unit/engines/test_startpage.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/unit/engines/test_startpage.py b/tests/unit/engines/test_startpage.py index bdb3356b7..4a7ca5b6f 100644 --- a/tests/unit/engines/test_startpage.py +++ b/tests/unit/engines/test_startpage.py @@ -31,14 +31,14 @@ class TestStartpageEngine(SearxTestCase): self.assertEqual(startpage.response(response), []) html = """ -
+
  • This should be the title

    -

    +

    This should be the content.

    @@ -56,7 +56,7 @@ class TestStartpageEngine(SearxTestCase): Mis en surbrillance

    -
  • + """ response = mock.Mock(text=html.encode('utf-8')) results = startpage.response(response)