@@ -31,14 +31,14 @@ class TestStartpageEngine(SearxTestCase):
31 self.assertEqual(startpage.response(response), [])
31 self.assertEqual(startpage.response(response), [])
33 html = """
33 html = """
34− <div class='result' style=' *width : auto; *margin-right : 10%;'>
34+ <li class="search-result search-item">
36 <a href='http://this.should.be.the.link/' id='title_2' name='title_2' >
36 <a href='http://this.should.be.the.link/' id='title_2' name='title_2' >
37 This should be the title
37 This should be the title
39 <span id='title_stars_2' name='title_stars_2'> </span>
39 <span id='title_stars_2' name='title_stars_2'> </span>
41− <p class='desc clk'>
41+ <p class="search-item__body">
42 This should be the content.
42 This should be the content.
@@ -56,7 +56,7 @@ class TestStartpageEngine(SearxTestCase):
56 Mis en surbrillance
56 Mis en surbrillance
61 response = mock.Mock(text=html.encode('utf-8'))
61 response = mock.Mock(text=html.encode('utf-8'))
62 results = startpage.response(response)
62 results = startpage.response(response)
@@ -67,14 +67,14 @@ class TestStartpageEngine(SearxTestCase):
67 self.assertEqual(results[0]['content'], 'This should be the content.')
67 self.assertEqual(results[0]['content'], 'This should be the content.')
69 html = """
69 html = """
70− <div class='result' style=' *width : auto; *margin-right : 10%;'>
70+ <li class="search-result search-item">
72 <a href='http://www.google.com/aclk?sa=l&ai=C' id='title_2' name='title_2' >
72 <a href='http://www.google.com/aclk?sa=l&ai=C' id='title_2' name='title_2' >
73 This should be the title
73 This should be the title
75 <span id='title_stars_2' name='title_stars_2'> </span>
75 <span id='title_stars_2' name='title_stars_2'> </span>
77− <p class='desc clk'>
77+ <p class="search-item__body">
78 This should be the content.
78 This should be the content.
@@ -92,20 +92,20 @@ class TestStartpageEngine(SearxTestCase):
92 Mis en surbrillance
92 Mis en surbrillance
96− <div class='result' style=' *width : auto; *margin-right : 10%;'>
96+ <li class="search-result search-item">
98 <span id='title_stars_2' name='title_stars_2'> </span>
98 <span id='title_stars_2' name='title_stars_2'> </span>
100− <p class='desc clk'>
100+ <p class="search-item__body">
101 This should be the content.
101 This should be the content.
104 <span class='url'>www.speed<b>test</b>.net/fr/
104 <span class='url'>www.speed<b>test</b>.net/fr/
108− <div class='result' style=' *width : auto; *margin-right : 10%;'>
108+ <li class="search-result search-item">
110 <a href='http://this.should.be.the.link/' id='title_2' name='title_2' >
110 <a href='http://this.should.be.the.link/' id='title_2' name='title_2' >
111 This should be the title
111 This should be the title
@@ -127,7 +127,7 @@ class TestStartpageEngine(SearxTestCase):
127 Mis en surbrillance
127 Mis en surbrillance
132 response = mock.Mock(text=html.encode('utf-8'))
132 response = mock.Mock(text=html.encode('utf-8'))
133 results = startpage.response(response)
133 results = startpage.response(response)