Exemple #1
0
 def test_generate_rerun_data(self):
     """
     Tests that completed Rerun data contains the completed flag.
     """
     drop_a = AbstractDROP("a", "a")
     drop_a.reproducibility_level = ReproducibilityFlags.RERUN
     drop_a.setCompleted()
     self.assertEqual(drop_a.generate_rerun_data(),
                      {"status": DROPStates.COMPLETED})
Exemple #2
0
 def test_generate_rerun_data(self):
     """
     Tests that completed Rerun data contains the completed flag.
     """
     a = AbstractDROP('a', 'a')
     a.reproducibility_level = ReproducibilityFlags.RERUN
     a.setCompleted()
     self.assertEqual(a.generate_rerun_data(),
                      {'status': DROPStates.COMPLETED})