File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -305,15 +305,15 @@ def test_input_html4(self):
305305 self .assertEqual (input , '<input required size="30" type="text">' )
306306
307307 input = input_html4 (required = "required" , size = 30 )
308- self .assertEqual (input , '<input required size="30" type="text">' )
308+ self .assertEqual (input , '<input required="required" size="30" type="text">' )
309309
310310 attrs = {"required" : None , "class" : "required" , "size" : 30 }
311311 input = input_html4 (** attrs )
312312 self .assertEqual (input , '<input class="required" required size="30" type="text">' )
313313
314314 attrs = {"disabled" : "disabled" , "class" : "required" , "size" : 30 }
315315 input = input_html4 (** attrs )
316- self .assertEqual (input , '<input class="required" disabled size="30" type="text">' )
316+ self .assertEqual (input , '<input class="required" disabled="disabled" size="30" type="text">' )
317317
318318 def test_input_xhtml (self ):
319319 # boolean attributes are attribute name="attribute name"
You can’t perform that action at this time.
0 commit comments