summaryrefslogtreecommitdiff
path: root/tests/test_lxml.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2011-02-18 09:34:47 -0500
committerLeonard Richardson <leonard.richardson@canonical.com>2011-02-18 09:34:47 -0500
commit4ccc7c021d86ab648925072b9d4d3682587c5be8 (patch)
tree8d4695687e979b715642e55f60ca3dcd807a88de /tests/test_lxml.py
parentfcb11108f0c7913c0ab0d2f60bbff0f96ca5c16b (diff)
Moved the substitution code to the Tag constructor so that we don't have to rely on handle_starttag to trigger it.
Diffstat (limited to 'tests/test_lxml.py')
-rw-r--r--tests/test_lxml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_lxml.py b/tests/test_lxml.py
index ab5b219..b002227 100644
--- a/tests/test_lxml.py
+++ b/tests/test_lxml.py
@@ -292,7 +292,7 @@ class TestLXMLBuilder(SoupTest):
parsed_meta = soup.find('meta', {'http-equiv': 'Content-type'})
self.assertEquals(parsed_meta['content'],
'text/html; charset=%SOUP-ENCODING%')
- self.assertEquals(parsed_meta.containsSubstitutions, True)
+ self.assertEquals(parsed_meta.contains_substitutions, True)
# For the rest of the story, see TestSubstitutions in
# test_tree.py.