diff options
| -rw-r--r-- | bitbake/lib/toaster/tests/builds/test_core_image_min.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/bitbake/lib/toaster/tests/builds/test_core_image_min.py b/bitbake/lib/toaster/tests/builds/test_core_image_min.py index dc1ad9da14..c5bfdbfbb5 100644 --- a/bitbake/lib/toaster/tests/builds/test_core_image_min.py +++ b/bitbake/lib/toaster/tests/builds/test_core_image_min.py | |||
| @@ -27,7 +27,6 @@ class BuildCoreImageMinimal(BuildTest): | |||
| 27 | """Build core-image-minimal and test the results""" | 27 | """Build core-image-minimal and test the results""" |
| 28 | 28 | ||
| 29 | def setUp(self): | 29 | def setUp(self): |
| 30 | self.built = self.build("core-image-minimal") | ||
| 31 | self.completed_build = self.target_already_built("core-image-minimal") | 30 | self.completed_build = self.target_already_built("core-image-minimal") |
| 32 | 31 | ||
| 33 | # Check if build name is unique - tc_id=795 | 32 | # Check if build name is unique - tc_id=795 |
| @@ -47,17 +46,6 @@ class BuildCoreImageMinimal(BuildTest): | |||
| 47 | total_builds, | 46 | total_builds, |
| 48 | msg='Build cooker log path is not unique') | 47 | msg='Build cooker log path is not unique') |
| 49 | 48 | ||
| 50 | # Check if task order is unique for one build - tc=824 | ||
| 51 | def test_Task_Unique_Order(self): | ||
| 52 | total_task_order = Task.objects.filter( | ||
| 53 | build=self.built).values('order').count() | ||
| 54 | distinct_task_order = Task.objects.filter( | ||
| 55 | build=self.completed_build).values('order').distinct().count() | ||
| 56 | |||
| 57 | self.assertNotEqual(total_task_order, | ||
| 58 | distinct_task_order, | ||
| 59 | msg='Errors task order is not unique') | ||
| 60 | |||
| 61 | # Check task order sequence for one build - tc=825 | 49 | # Check task order sequence for one build - tc=825 |
| 62 | def test_Task_Order_Sequence(self): | 50 | def test_Task_Order_Sequence(self): |
| 63 | cnt_err = [] | 51 | cnt_err = [] |
