diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-20 19:41:15 -0500 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-20 19:41:15 -0500 |
commit | 4afd4ca029aed4c5e2bc225e3938f4f4879ba155 (patch) | |
tree | 2c7e4d562d3091ae32506a54c2ef4a1e82f6e7ad /tests/test_tree.py | |
parent | 121361b1835a619ae03fce39cb5569f28968f1b0 (diff) |
Renamed the registry variable to builder_registry.
Diffstat (limited to 'tests/test_tree.py')
-rw-r--r-- | tests/test_tree.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_tree.py b/tests/test_tree.py index 0232bac..0b3d72e 100644 --- a/tests/test_tree.py +++ b/tests/test_tree.py @@ -13,7 +13,7 @@ import copy import cPickle as pickle import re from beautifulsoup import BeautifulSoup -from beautifulsoup.builder import registry +from beautifulsoup.builder import builder_registry from beautifulsoup.element import CData, SoupStrainer, Tag from beautifulsoup.testing import SoupTest @@ -524,7 +524,7 @@ class TestTreeModification(SoupTest): self.assertEqual(soup.decode(), self.document_for('<a id2="foo"></a>')) def test_new_tag_creation(self): - builder = registry.lookup('html5lib')() + builder = builder_registry.lookup('html5lib')() soup = self.soup("<body></body>", builder=builder) a = Tag(soup, builder, 'a') ol = Tag(soup, builder, 'ol') |