[fix] 1x.com tests
This commit is contained in:
		
							parent
							
								
									e7fd546aae
								
							
						
					
					
						commit
						732ed952dc
					
				| @ -51,7 +51,7 @@ class TestWww1xEngine(SearxTestCase): | |||||||
|         results = www1x.response(response) |         results = www1x.response(response) | ||||||
|         self.assertEqual(type(results), list) |         self.assertEqual(type(results), list) | ||||||
|         self.assertEqual(len(results), 1) |         self.assertEqual(len(results), 1) | ||||||
|         self.assertEqual(results[0]['url'], 'https://1x.com/photo/123456') |         self.assertEqual(results[0]['url'], 'http://1x.com/photo/123456') | ||||||
|         self.assertEqual(results[0]['thumbnail_src'], 'https://1x.com/images/user/testimage-123456.jpg') |         self.assertEqual(results[0]['thumbnail_src'], 'http://1x.com/images/user/testimage-123456.jpg') | ||||||
|         self.assertEqual(results[0]['content'], '') |         self.assertEqual(results[0]['content'], '') | ||||||
|         self.assertEqual(results[0]['template'], 'images.html') |         self.assertEqual(results[0]['template'], 'images.html') | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user