summaryrefslogtreecommitdiff
path: root/searx/tests
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-01-10 18:49:50 +0100
committerAdam Tauber <asciimoo@gmail.com>2016-01-10 18:49:50 +0100
commit66f48c2bf5b84f6f7b52b1ba7217a1aadf5717b7 (patch)
tree28bd79ae185ce8682908f45b5427d8e7a6b84599 /searx/tests
parent44c7eac958ea01d981ed4e31e10f51d9059f7945 (diff)
[fix] google markup change - closes #489
Diffstat (limited to 'searx/tests')
-rw-r--r--searx/tests/engines/test_google.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/searx/tests/engines/test_google.py b/searx/tests/engines/test_google.py
index 04f12b830..37a83cae3 100644
--- a/searx/tests/engines/test_google.py
+++ b/searx/tests/engines/test_google.py
@@ -40,7 +40,7 @@ class TestGoogleEngine(SearxTestCase):
self.assertEqual(google.response(response), [])
html = """
- <li class="g">
+ <div class="g">
<h3 class="r">
<a href="http://this.should.be.the.link/">
<b>This</b> is <b>the</b> title
@@ -94,35 +94,35 @@ class TestGoogleEngine(SearxTestCase):
</a>
</div>
</div>
- </li>
- <li class="g">
+ </div>
+ <div class="g">
<h3 class="r">
<a href="http://www.google.com/images?q=toto">
<b>This</b>
</a>
</h3>
- </li>
- <li class="g">
+ </div>
+ <div class="g">
<h3 class="r">
<a href="http://www.google.com/search?q=toto">
<b>This</b> is
</a>
</h3>
- </li>
- <li class="g">
+ </div>
+ <div class="g">
<h3 class="r">
<a href="€">
<b>This</b> is <b>the</b>
</a>
</h3>
- </li>
- <li class="g">
+ </div>
+ <div class="g">
<h3 class="r">
<a href="/url?q=url">
<b>This</b> is <b>the</b>
</a>
</h3>
- </li>
+ </div>
<p class="_Bmc" style="margin:3px 8px">
<a href="/search?num=20&amp;safe=off&amp;q=t&amp;revid=1754833769&amp;sa=X&amp;ei=-&amp;ved=">
suggestion <b>title</b>