summaryrefslogtreecommitdiff
path: root/tests/test_lxml.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2011-02-20 07:41:04 -0500
committerLeonard Richardson <leonard.richardson@canonical.com>2011-02-20 07:41:04 -0500
commit54f1fb0a0af88c408175cbcdf060d2d04040075d (patch)
tree889212d47e039c314c83033ab61403809c2d68f5 /tests/test_lxml.py
parent3a2344e6c79cfa777e161d836c7e1fb1b7993ed7 (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.py2
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>")