mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00

Added Beautifulsoup module because fetch/wget latest_versionstring method depends on it. This provides support to fetch/wget.py module for search new package versions in upstream sites. (Bitbake rev: 4626c9b77e5eded97507b6f9ca0d891f9a54bb8a) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 lines
612 B
Python
20 lines
612 B
Python
"""Tests to ensure that the html.parser tree builder generates good
|
|
trees."""
|
|
|
|
from bs4.testing import SoupTest, HTMLTreeBuilderSmokeTest
|
|
from bs4.builder import HTMLParserTreeBuilder
|
|
|
|
class HTMLParserTreeBuilderSmokeTest(SoupTest, HTMLTreeBuilderSmokeTest):
|
|
|
|
@property
|
|
def default_builder(self):
|
|
return HTMLParserTreeBuilder()
|
|
|
|
def test_namespaced_system_doctype(self):
|
|
# html.parser can't handle namespaced doctypes, so skip this one.
|
|
pass
|
|
|
|
def test_namespaced_public_doctype(self):
|
|
# html.parser can't handle namespaced doctypes, so skip this one.
|
|
pass
|