Commit c9ed87bf authored by Nicolas Delaby's avatar Nicolas Delaby

Execute activities and let discoverMetada setup the correct file_name in source_reference

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32055 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e66e8127
......@@ -1443,6 +1443,8 @@ class TestIngestion(ERP5TypeTestCase):
my_filename = 'Something.doc'
document = contribution_tool.newContent(file=file_object,
file_name=my_filename)
transaction.commit()
self.tic()
self.assertEquals(document.getSourceReference(), my_filename)
# Missing tests
......
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