bitbake: toaster: toastergui tests Use new BeautifulSoup syntax

Fix deprecation warning specify the parser used for creating the
BeautifulSoup object.

(Bitbake rev: d34546e88881e89588206877ebaea506cda4f6c2)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Michael Wood
2016-06-10 11:45:48 +01:00
committed by Richard Purdie
parent eba5321786
commit 0a7bd539fa

View File

@@ -380,7 +380,7 @@ class ViewTests(TestCase):
if "<" not in td:
ret = td
else:
ret = BeautifulSoup(td).text
ret = BeautifulSoup(td, "html.parser").text
if len(ret):
return "0"