diff options
author | Léo Bourrel <leo.bourrel@epitech.eu> | 2018-07-06 11:15:43 +0200 |
---|---|---|
committer | Léo Bourrel <leo.bourrel@epitech.eu> | 2018-07-06 11:15:43 +0200 |
commit | 0a37f909900f3d4a04c963430c93977d2c96f520 (patch) | |
tree | d4554bcf3cb1a7e3512d044227fe352d7cb2ded2 /tests/unit | |
parent | 7a474db61bd9ba9a08111758b058f81cb5175db4 (diff) | |
download | searxng-0a37f909900f3d4a04c963430c93977d2c96f520.tar.gz searxng-0a37f909900f3d4a04c963430c93977d2c96f520.zip |
Fix wikidata tests with updated path to media
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/engines/test_wikidata.py | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/tests/unit/engines/test_wikidata.py b/tests/unit/engines/test_wikidata.py index 545ef9ed8..62a409781 100644 --- a/tests/unit/engines/test_wikidata.py +++ b/tests/unit/engines/test_wikidata.py @@ -123,9 +123,10 @@ class TestWikidataEngine(SearxTestCase): <div class="wikibase-statementview-mainsnak"> <div> <div class="wikibase-snakview-value"> - <a href="https://commons.wikimedia.org/wiki/File:image.png"> - image.png - </a> + <div class="commons-media-caption"> + <a href="https://commons.wikimedia.org/wiki/File:image.png">image.png</a> + <br/>2,687 × 3,356; 1.22 MB + </div> </div> </div> </div> @@ -156,9 +157,10 @@ class TestWikidataEngine(SearxTestCase): <div class="wikibase-statementview-mainsnak"> <div> <div class="wikibase-snakview-value"> - <a href="https://commons.wikimedia.org/wiki/File:icon.png"> - icon.png - </a> + <div class="commons-media-caption"> + <a href="https://commons.wikimedia.org/wiki/File:icon.png">icon.png</a> + <br/>671 × 671; 18 KB</div> + </div> </div> </div> </div> @@ -179,9 +181,10 @@ class TestWikidataEngine(SearxTestCase): <div class="wikibase-statementview-mainsnak"> <div> <div class="wikibase-snakview-value"> - <a href="https://commons.wikimedia.org/wiki/File:logo.png"> - logo.png - </a> + <div class="commons-media-caption"> + <a href="https://commons.wikimedia.org/wiki/File:logo.png">logo.png</a> + <br/>170 × 170; 1 KB + </div> </div> </div> </div> |