toaster: Fix broken test case
PATCH 1/1 toaster: Fix broken test case
From: Ed Bartosh <[email protected]>
Fixed test_show_tasks_in_projectbuilds broken by latest changes in project build view.
Signed-off-by Ed Bartosh <[email protected]>
Signed-off-by Elliot Smith <[email protected]>
--- bitbake/lib/toaster/toastergui/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/lib/toaster/toastergui/tests.py +1 -1
@@ -564,7 +564,7 @@ class ProjectBuildsDisplayTest(TestCase): url = reverse("projectbuilds", args=(self.project1.id,)) response = self.client.get(url, follow=True) result = re.findall('^ +bash:clean$', response.content, re.MULTILINE) - self.assertEqual(len(result), 1) + self.assertEqual(len(result), 2) def test_show_tasks_in_allbuilds(self): build = Build.objects.create(**self.project1_build_success)
Signature · 12 lines
1.9.3 --------------------------------------------------------------------- Intel Corporation (UK) Limited Registered No. 1134945 (England) Registered Office: Pipers Way, Swindon SN3 1RJ VAT No: 860 2173 47 This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.