コード例 #1
0
 def test_autodelta_finished(self):
     self.sub.status = 'empty'
     self.mox.ReplayAll()
     self.assertEqual(status.get_autodelta_migration_status(self.migration).computed_status, 'finished')
コード例 #2
0
 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')