diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-18 09:58:07 -0500 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-18 09:58:07 -0500 |
commit | 66cbef12d959149746b3361f227f2a0328a31469 (patch) | |
tree | c6772c648933ad1477dc642aa598f34508870fff /tests/test_lxml.py | |
parent | cb85520f7627a914e10e2d3ea52d7066bdf3984d (diff) | |
parent | d9462ef1b2760ccb6273903abcd7d253445716a4 (diff) |
Refactored the code that sets up substitutions in attribute values, and made content-type substitution work with html5lib.
Diffstat (limited to 'tests/test_lxml.py')
-rw-r--r-- | tests/test_lxml.py | 2 |
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. |