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>
This commit is contained in:
parent
2e375e63bf
commit
7e5464b451
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue