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:
parent
eba5321786
commit
0a7bd539fa
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue