[Toaster] [review-request][PATCH] toaster: fix broken test case

Smith, Elliot elliot.smith at intel.com
Wed Sep 30 07:42:36 PDT 2015


On 30 September 2015 at 15:19, Ed Bartosh <ed.bartosh at linux.intel.com>
wrote:

> Fixed test_show_tasks_in_projectbuilds broken by latest changes in
> project build view.
>
> Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
> ---
>  bitbake/lib/toaster/toastergui/tests.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/bitbake/lib/toaster/toastergui/tests.py
> b/bitbake/lib/toaster/toastergui/tests.py
> index 5d15ac9..95790a2 100644
> --- a/bitbake/lib/toaster/toastergui/tests.py
> +++ b/bitbake/lib/toaster/toastergui/tests.py
> @@ -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)
>

I noticed this one, too. I'll submit it to bitbake-devel.

Elliot



> --
> 2.1.4
>
> --
> _______________________________________________
> toaster mailing list
> toaster at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/toaster
>



-- 
Elliot Smith
Software Engineer
Intel Open Source Technology Centre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20150930/563cf5e7/attachment.html>


More information about the toaster mailing list