def test_ongoing(self, job_type, ongoing): self.job_stats['type'] = job_type self.assertEqual(migration.ongoing(self.job_stats), ongoing)
def test_ongoing(self, job_type, ongoing): self.job_stats['type'] = job_type assert migration.ongoing(self.job_stats) == ongoing
def test_ongoing(self, job_type, ongoing): self.job_stats['type'] = job_type self.assertEqual(migration.ongoing(self.job_stats), ongoing)