diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-20 07:41:04 -0500 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-20 07:41:04 -0500 |
commit | 54f1fb0a0af88c408175cbcdf060d2d04040075d (patch) | |
tree | 889212d47e039c314c83033ab61403809c2d68f5 /tests/test_lxml.py | |
parent | 3a2344e6c79cfa777e161d836c7e1fb1b7993ed7 (diff) |
Why is the test failing? Because I'm asserting the wrong thing.
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 58d16ff..dd1c363 100644 --- a/tests/test_lxml.py +++ b/tests/test_lxml.py @@ -498,7 +498,7 @@ class TestLXMLXMLBuilder(SoupTest): def test_self_empty_tag_treated_as_self_closing(self): soup = self.soup("<p><iamclosed></iamclosed></p>") - self.assertFalse(soup.iamclosed.isSelfClosing) + self.assertTrue(soup.iamclosed.isSelfClosing) def test_self_nonempty_tag_is_not_self_closing(self): soup = self.soup("<p><ihavecontents>contents</ihavecontents></p>") |