mirror of
				https://github.com/searxng/searxng.git
				synced 2025-10-31 02:27:06 -04:00 
			
		
		
		
	Correct test case
Add the alt in favicon
This commit is contained in:
		
							parent
							
								
									8fb6ea1bf1
								
							
						
					
					
						commit
						b2f5f65595
					
				| @ -49,7 +49,7 @@ class ViewsTestCase(SearxTestCase): | ||||
|         ) | ||||
|         result = self.app.post('/', data={'q': 'test'}) | ||||
|         self.assertIn( | ||||
|             '<h3 class="result_title"> <img width="14" height="14" class="favicon" src="static/default/img/icon_youtube.ico" /><a href="http://first.test.xyz">First <span class="highlight">Test</span></a></h3>',  # noqa | ||||
|             '<h3 class="result_title"> <img width="14" height="14" class="favicon" src="static/default/img/icon_youtube.ico" alt="youtube" /><a href="http://first.test.xyz">First <span class="highlight">Test</span></a></h3>',  # noqa | ||||
|             result.data | ||||
|         ) | ||||
|         self.assertIn( | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user