def test02(self): """test02 : start migration and finish it""" cfg = loadConfigurationFile(writerconfig) setupDB(cfg) migrator = DBSMigrationEngine(cfg) migrator.setup("NONE") migrator.algorithm("NONE")
def test04(self): """test04: lets attempt remigration of the same dataset, it should not raise any errors""" data = dict( migration_url="http://vocms09.cern.ch:8585/DBS", migration_input="/RelValSinglePiPt100/CMSSW_3_1_0_pre9_IDEAL_31X_v1/GEN-SIM-DIGI-RAW-HLTDEBUG", ) migapi.insert("submit", data) cfg = loadConfigurationFile(writerconfig) setupDB(cfg) migrator = DBSMigrationEngine(cfg) migrator.setup("NONE") migrator.algorithm("NONE")