mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-22 13:22:19 -06:00
CI error corrected
This commit is contained in:
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user