def test_drop_replicate_comp(self): a = NullDROP("a", "a") a.reproducibility_level = ReproducibilityFlags.REPLICATE_COMP a.setCompleted() self.assertEqual(a.generate_rerun_data(), {"status": DROPStates.COMPLETED}) self.assertIsNotNone(a.merkleroot) pass
def test_drop_replicate_total(self): a = NullDROP('a', 'a') a.reproducibility_level = ReproducibilityFlags.REPLICATE_TOTAL a.setCompleted() self.assertEqual(a.generate_rerun_data(), {'status': DROPStates.COMPLETED}) self.assertIsNotNone(a.merkleroot) pass