mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-19 11:52:18 -06:00
Updated from template
This commit is contained in:
committed by
Justine Doutreloux
parent
e7c562205e
commit
8ef3f40ee4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user