summaryrefslogtreecommitdiff
path: root/tests/unit/engines/test_flickr_noapi.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2016-12-09 23:11:45 +0100
committerGitHub <noreply@github.com>2016-12-09 23:11:45 +0100
commite48f07a367e55bf8aa881902b977bd7ce1cd2bb6 (patch)
tree8b285b2dd483006d08c03b9fec49cba49ff16a87 /tests/unit/engines/test_flickr_noapi.py
parent219f047bf359ce94397241b875639f3aaddb0fe5 (diff)
parentd80fb2c8e8995facb3a25c152c47a93eecf1fee4 (diff)
Merge branch 'master' into searchpy2
Diffstat (limited to 'tests/unit/engines/test_flickr_noapi.py')
-rw-r--r--tests/unit/engines/test_flickr_noapi.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/engines/test_flickr_noapi.py b/tests/unit/engines/test_flickr_noapi.py
index 6d09071bd..5f8b069e3 100644
--- a/tests/unit/engines/test_flickr_noapi.py
+++ b/tests/unit/engines/test_flickr_noapi.py
@@ -145,7 +145,7 @@ class TestFlickrNoapiEngine(SearxTestCase):
self.assertEqual(results[0]['url'], 'https://www.flickr.com/photos/59729010@N00/14001294434')
self.assertIn('k.jpg', results[0]['img_src'])
self.assertIn('n.jpg', results[0]['thumbnail_src'])
- self.assertIn('Owner', results[0]['content'])
+ self.assertIn('Owner', results[0]['author'])
# no n size, only the z size
json = """
@@ -188,7 +188,7 @@ class TestFlickrNoapiEngine(SearxTestCase):
self.assertEqual(results[0]['url'], 'https://www.flickr.com/photos/59729010@N00/14001294434')
self.assertIn('z.jpg', results[0]['img_src'])
self.assertIn('z.jpg', results[0]['thumbnail_src'])
- self.assertIn('Owner', results[0]['content'])
+ self.assertIn('Owner', results[0]['author'])
# no z or n size
json = """
@@ -231,7 +231,7 @@ class TestFlickrNoapiEngine(SearxTestCase):
self.assertEqual(results[0]['url'], 'https://www.flickr.com/photos/59729010@N00/14001294434')
self.assertIn('o.jpg', results[0]['img_src'])
self.assertIn('o.jpg', results[0]['thumbnail_src'])
- self.assertIn('Owner', results[0]['content'])
+ self.assertIn('Owner', results[0]['author'])
# no image test
json = """