From 4ccc7c021d86ab648925072b9d4d3682587c5be8 Mon Sep 17 00:00:00 2001 From: Leonard Richardson Date: Fri, 18 Feb 2011 09:34:47 -0500 Subject: Moved the substitution code to the Tag constructor so that we don't have to rely on handle_starttag to trigger it. --- tests/test_lxml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_lxml.py') 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. -- cgit v1.2.3