mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-25 01:48:41 -06:00
CI error corrected
This commit is contained in:
parent
d3e7a11b7c
commit
4ef00a8b9a
@ -9,9 +9,11 @@ class TestDocumentPageApproval(common.TransactionCase):
|
||||
def test_get_display_content(self):
|
||||
"""Test page display content."""
|
||||
# Check content of a category
|
||||
category = self.ref('document_page.demo_category1')
|
||||
category = self.env['document.page'].search([
|
||||
('name', '=', 'OpenERP Features')
|
||||
])
|
||||
|
||||
self.assertIsNotNone(category.display_content)
|
||||
self.assertIsNotNone(category.display_content, 'a category')
|
||||
|
||||
# Check content of a page
|
||||
pages = self.env['document.page'].search([
|
||||
|
Loading…
Reference in New Issue
Block a user