File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -74,8 +74,8 @@ def test_fieldset_headers(self):
7474 request = self .rf .get ("/admin/constance/config/" )
7575 request .user = self .superuser
7676 response = self .options .changelist_view (request , {})
77- self .assertContains (response , "<h2> Numbers</h2>" )
78- self .assertContains (response , "<h2> Text</h2>" )
77+ self .assertContains (response , "Numbers</h2>" )
78+ self .assertContains (response , "Text</h2>" )
7979
8080 @mock .patch (
8181 "constance.settings.CONFIG_FIELDSETS" ,
@@ -89,8 +89,8 @@ def test_fieldset_tuple(self):
8989 request = self .rf .get ("/admin/constance/config/" )
9090 request .user = self .superuser
9191 response = self .options .changelist_view (request , {})
92- self .assertContains (response , "<h2> Numbers</h2>" )
93- self .assertContains (response , "<h2> Text</h2>" )
92+ self .assertContains (response , "Numbers</h2>" )
93+ self .assertContains (response , "Text</h2>" )
9494
9595 @mock .patch (
9696 "constance.settings.CONFIG_FIELDSETS" ,
You can’t perform that action at this time.
0 commit comments