Commit 027e948d authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

[test] Drop useless alias to create_entity

parent 6626f73ddf03
......@@ -18,8 +18,7 @@
def create_transfer_to_bdo(cnx):
"""Create minimal ArchiveTransfer down to a BinaryDataObject and return the later."""
create = cnx.create_entity
transfer = create('SEDAArchiveTransfer', title=u'test profile')
transfer = cnx.create_entity('SEDAArchiveTransfer', title=u'test profile')
bdo = create_data_object(transfer)
# commit and clear cache to allow access to container relation
cnx.commit()
......
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