diff --git a/atdb/taskdatabase/tests/test_models_processed_summary.py b/atdb/taskdatabase/tests/test_models_processed_summary.py index 261fa7dbba2a40f295cf3863a405dabb89dcdf82..19c7560930e664cac47fe4ac984051b2e4c2477a 100644 --- a/atdb/taskdatabase/tests/test_models_processed_summary.py +++ b/atdb/taskdatabase/tests/test_models_processed_summary.py @@ -51,14 +51,14 @@ class TestProcessedSummary(TestCase): """ actual = self.task1.resume - self.assertEqual(actual, True) + self.assertTrue(actual) def test_processed_not_on_hold_for_different_strategy(self): """ this is a summary task, but it uses a workflow with an aggregation_strategy that should not hold the task """ actual = self.task4.resume - self.assertEqual(actual, True) + self.assertTrue(actual) def test_processed_on_hold(self): """ @@ -66,7 +66,7 @@ class TestProcessedSummary(TestCase): """ actual = self.task2.resume - self.assertEqual(actual, False) + self.assertFalse(actual) def test_activity_is_processed(self): @@ -75,18 +75,18 @@ class TestProcessedSummary(TestCase): """ actual = self.task1.activity.is_processed - self.assertEqual(actual, True) + self.assertTrue(actual) def test_has_summary_substring(self): """ task 2 only has the old summary filename test. Check if the task indeed gets seen as a summary_task """ actual = self.task2.is_summary - self.assertEqual(actual, True) + self.assertTrue(actual) def test_is_summary(self): """ task 3 only has the new 'is_summary' test. Check if the task indeed gets seen as a summary_task """ actual = self.task3.is_summary - self.assertEqual(actual, True) \ No newline at end of file + self.assertTrue(actual) \ No newline at end of file