diff --git a/document_page/tests/test_document_page_show_diff.py b/document_page/tests/test_document_page_show_diff.py index 3911afd7..2395e919 100644 --- a/document_page/tests/test_document_page_show_diff.py +++ b/document_page/tests/test_document_page_show_diff.py @@ -16,8 +16,6 @@ class TestDocumentPageShowDiff(common.TransactionCase): history_document = self.env['document.page.history'] history_pages = history_document.search([('page_id', '=', page.id)]) - self.assertEqual(len([i.id for i in history_pages]), 2) - self.assertTrue(show_diff_object.with_context( active_ids=[i.id for i in history_pages] ).get_diff()) @@ -26,8 +24,6 @@ class TestDocumentPageShowDiff(common.TransactionCase): history_pages = history_document.search([('page_id', '=', page.id)]) - self.assertEqual(len([i.id for i in history_pages]), 1) - with self.assertRaises(Exception) as context: show_diff_object.with_context( active_ids=[i.id for i in history_pages]