mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			276 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			276 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from django.forms import SearchInput
 | |
| 
 | |
| from .base import WidgetTest
 | |
| 
 | |
| 
 | |
| class SearchInputTest(WidgetTest):
 | |
|     widget = SearchInput()
 | |
| 
 | |
|     def test_render(self):
 | |
|         self.check_html(
 | |
|             self.widget, "search", "", html='<input type="search" name="search">'
 | |
|         )
 |