File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
djangocms_versioning/test_utils Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ class PageContentFactory(AbstractContentFactory):
226226 soft_root = FuzzyChoice ([True , False ])
227227 limit_visibility_in_menu = constants .VISIBILITY_USERS
228228 template = "page.html"
229- xframe_options = FuzzyInteger (0 , 25 )
229+ xframe_options = FuzzyInteger (0 , 4 )
230230
231231 class Meta :
232232 model = PageContent
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ def test_changing_slug_changes_page_url(self):
119119 form = ChangePageForm (data , instance = self .content )
120120 form ._request = request
121121 form ._site = self .site
122- self .assertEqual (form .is_valid (), True )
122+ self .assertTrue (form .is_valid (), f"Form errors: { form . errors } " )
123123
124124 form .save ()
125125 page = Page .objects .get (pk = self .page .pk )
You can’t perform that action at this time.
0 commit comments