Commit d27d2f0a authored by Aurel's avatar Aurel Committed by Jérome Perrin

fix document name

parent 1e387e62
...@@ -160,7 +160,7 @@ class TestDeferredStyle(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -160,7 +160,7 @@ class TestDeferredStyle(ERP5TypeTestCase, ZopeTestCase.Functional):
document = document_list[0].getObject() document = document_list[0].getObject()
expected_file_name = 'History%s' % self.attachment_file_extension expected_file_name = 'History%s' % self.attachment_file_extension
self.assertEqual(expected_file_name, document.getFilename()) self.assertEqual(expected_file_name, document.getFilename())
self.assertEqual(expected_file_name, document.getTitle()) self.assertEqual('History', document.getTitle())
self.assertEqual(None, document.getReference()) self.assertEqual(None, document.getReference())
self.assertEqual("shared", document.getValidationState()) self.assertEqual("shared", document.getValidationState())
self.assertEqual(publication_section, document.getPublicationSection()) self.assertEqual(publication_section, document.getPublicationSection())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment