summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-10-01 10:41:26 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-12 14:38:57 +0100
commit7e5464b45132977c3220cecc3ad8958bad9d5593 (patch)
tree74907e0a7009af784a110b7f65f56ff508b468c1
parent2e375e63bf0d68e444e4122fcae75cdecb2256a2 (diff)
downloadpoky-7e5464b45132977c3220cecc3ad8958bad9d5593.tar.gz
bitbake: toaster: Fix broken test case
Fixed test_show_tasks_in_projectbuilds broken by latest changes in project build view. (Bitbake rev: 3c72c7634ab69a5eb18aa20a5c6d16a3e2666f62) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/toaster/toastergui/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/tests.py b/bitbake/lib/toaster/toastergui/tests.py
index 5d15ac9478..95790a2bb8 100644
--- a/bitbake/lib/toaster/toastergui/tests.py
+++ b/bitbake/lib/toaster/toastergui/tests.py
@@ -564,7 +564,7 @@ class ProjectBuildsDisplayTest(TestCase):
564 url = reverse("projectbuilds", args=(self.project1.id,)) 564 url = reverse("projectbuilds", args=(self.project1.id,))
565 response = self.client.get(url, follow=True) 565 response = self.client.get(url, follow=True)
566 result = re.findall('^ +bash:clean$', response.content, re.MULTILINE) 566 result = re.findall('^ +bash:clean$', response.content, re.MULTILINE)
567 self.assertEqual(len(result), 1) 567 self.assertEqual(len(result), 2)
568 568
569 def test_show_tasks_in_allbuilds(self): 569 def test_show_tasks_in_allbuilds(self):
570 build = Build.objects.create(**self.project1_build_success) 570 build = Build.objects.create(**self.project1_build_success)