Commit 7b77868d authored by Nicolas Delaby's avatar Nicolas Delaby

Do not set a value if ContributionTool is expected to setup the property

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32037 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 93abd303
...@@ -563,8 +563,6 @@ class TestIngestion(ERP5TypeTestCase): ...@@ -563,8 +563,6 @@ class TestIngestion(ERP5TypeTestCase):
self.assertEquals(document.getRevision(), '1') self.assertEquals(document.getRevision(), '1')
f = makeFileUpload(filename) f = makeFileUpload(filename)
document.edit(file=f) document.edit(file=f)
# set source
document.setSourceReference(filename)
self.assert_(document.hasFile()) self.assert_(document.hasFile())
# source_reference set to file name ? # source_reference set to file name ?
self.assertEquals(document.getSourceReference(), filename) self.assertEquals(document.getSourceReference(), filename)
......
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