Updated from template

This commit is contained in:
Ivan Sokolov
2023-11-06 19:23:04 +01:00
committed by Justine Doutreloux
parent e7c562205e
commit 8ef3f40ee4
3 changed files with 5 additions and 5 deletions

View File

@@ -39,7 +39,7 @@ class TestDocumentPage(common.TransactionCase):
page = self.page_obj.create({"name": "Test Page 3", "content": "Test content"})
self.assertEqual(
page.backend_url,
"/web#id={}&model=document.page&view_type=form".format(page.id),
f"/web#id={page.id}&model=document.page&view_type=form",
)
menu = self.env.ref("document_knowledge.menu_document")
page.menu_id = menu