Commit 14524d66 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

[test] Drop commented out code

parent 077caf9fcaaf
...@@ -399,14 +399,6 @@ class CloneImportTC(CubicWebTC): ...@@ -399,14 +399,6 @@ class CloneImportTC(CubicWebTC):
def setup_database(self): def setup_database(self):
with self.admin_access.cnx() as cnx: with self.admin_access.cnx() as cnx:
# scheme = testutils.seda_scheme(
# cnx, u'seda_document_type_code', u'preferred', u'QWE')
# self.doctypecodevalue_eid = scheme.reverse_in_scheme[0].eid
# doctypecode = self.doctypecode(cnx)
# self.doc_eid = cnx.create_entity(
# 'ProfileDocument', user_cardinality=u'1',
# user_annotation=u'plop',
# seda_document_type_code=doctypecode).eid
transfer = cnx.create_entity('SEDAArchiveTransfer', title=u'test') transfer = cnx.create_entity('SEDAArchiveTransfer', title=u'test')
unit, unit_alt, unit_alt_seq = testutils.create_archive_unit(None, cnx=cnx, unit, unit_alt, unit_alt_seq = testutils.create_archive_unit(None, cnx=cnx,
user_cardinality=u'1', user_cardinality=u'1',
...@@ -415,11 +407,6 @@ class CloneImportTC(CubicWebTC): ...@@ -415,11 +407,6 @@ class CloneImportTC(CubicWebTC):
self.transfer_eid = transfer.eid self.transfer_eid = transfer.eid
self.unit_eid = unit.eid self.unit_eid = unit.eid
self.bdo_eid = bdo.eid self.bdo_eid = bdo.eid
# self.archobj_eid = cnx.create_entity(
# 'ProfileArchiveObject',
# seda_name=cnx.create_entity('SEDAName'),
# seda_parent=profile).eid
cnx.commit() cnx.commit()
def doctypecode(self, cnx): def doctypecode(self, cnx):
......
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