File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -449,7 +449,7 @@ def test_user_admin_form_scope_homepage_layout_choices(self):
449449 card_layout_other = create ("CardLayout" , self .other_dataspace )
450450
451451 response = self .client .get (url )
452- expected = '<legend for="id_homepage_layout">Homepage layout:</legend >'
452+ expected = '<label for="id_homepage_layout">Homepage layout</label >'
453453 self .assertContains (response , expected , html = True )
454454 self .assertContains (response , card_layout_nexb .name )
455455 self .assertNotContains (response , card_layout_other .name )
Original file line number Diff line number Diff line change @@ -44,13 +44,13 @@ def test_changeview_translation(self):
4444
4545 translation .activate ("en" )
4646 response = self .client .get (url )
47- expected = '<legend for="id_license_profile">License profile:</legend >'
47+ expected = '<label for="id_license_profile">License profile</label >'
4848 self .assertContains (response , expected )
4949
5050 translation .activate ("en_GB" ) # Activate the custom translation locale
5151 response = self .client .get (url )
5252 # The verbose part of the label is properly translated.
53- expected = '<legend for="id_license_profile">Attribution type:</legend >'
53+ expected = '<label for="id_license_profile">Attribution type</label >'
5454 self .assertContains (response , expected )
5555
5656 def test_admin_index_view_translation (self ):
You can’t perform that action at this time.
0 commit comments