def testArchive(self): rosrs = ROSRS_Session(ro_test_config.ROSRS_URI, ro_test_config.ROSRS_ACCESS_TOKEN) (copy_status, archiveUri) = self.createArchive(self.TEST_CREATED_RO_ID, self.TEST_SNAPHOT_ID, False) assert copy_status == "DONE" (status, reason, data, evo_type) = rosrs.getROEvolution(archiveUri) assert evo_type == 3 self.freeze(archiveUri) (status, reason, data, evo_type) = rosrs.getROEvolution(archiveUri) assert evo_type == 2 (status, reason) = self.rosrs.deleteRO(self.TEST_CREATED_RO_ID) (status, reason) = self.rosrs.deleteRO(archiveUri)