bs4.tests.test_builder_registry
#
Tests of the builder registry.
Module Contents#
Classes#
Test the built-in registry with the default builders registered. |
|
Test the TreeBuilderRegistry class in general. |
- class bs4.tests.test_builder_registry.TestBuiltInRegistry#
Bases:
object
Test the built-in registry with the default builders registered.
- test_combination()#
- test_lookup_by_markup_type()#
- test_named_library()#
- test_beautifulsoup_constructor_does_lookup()#
- class bs4.tests.test_builder_registry.TestRegistry#
Bases:
object
Test the TreeBuilderRegistry class in general.
- setup_method()#
- builder_for_features(*feature_list)#
- test_register_with_no_features()#
- test_register_with_features_makes_lookup_succeed()#
- test_lookup_fails_when_no_builder_implements_feature()#
- test_lookup_gets_most_recent_registration_when_no_feature_specified()#
- test_lookup_fails_when_no_tree_builders_registered()#
- test_lookup_gets_most_recent_builder_supporting_all_features()#
- test_lookup_fails_when_cannot_reconcile_requested_features()#