def test_autodelta_finished(self): self.sub.status = 'empty' self.mox.ReplayAll() self.assertEqual(status.get_autodelta_migration_status(self.migration).computed_status, 'finished')
def test_autodelta_in_progress(self): self.sub.status = 'OTHER' self.mox.ReplayAll() self.assertEqual(status.get_autodelta_migration_status(self.migration).computed_status, 'in_progress')