""" A module containing test doc stuff
"""

class Test(object):
    """ This is an object
    """
    def test(self):
        """ This is a test method
        """

@@ -1,12 +1,12 @@
 %22%22%22
- 
+%0A
 A module
@@ -21,144 +21,951 @@
 ing 
-test doc stuff%0A%22%22%22%0A%0Aclass Test(object
+classes used for testing purposes%0A%22%22%22%0A%0Aimport unittest%0Afrom tag import Tag%0Afrom parser import Parser%0Afrom dom import Dom%0A%0A%0Aclass TestParser(unittest.TestCase
 ):%0A
+%0A
     
-%22%22%22 This is an object%0A    %22%22%22%0A    def test(self):%0A        %22%22%22 This is a test method%0A        %22%22%22
+def test_html_string_parsing(self):%0A        html = %22%22%22%0A                %3Chtml%3E%0A                    %3Cbody%3E%0A                        %3Cp%3EThis is a p tag%3C/p%3E%0A                    %3C/body%3E%0A                %3C/html%3E%0A               %22%22%22%0A        root = Tag(%22html%22)%0A        body = Tag(%22body%22)%0A        body.add_child(Tag(%22p%22))%0A        root.add_child(body)%0A        test_dom = Dom(root=root)%0A%0A        parser = Parser(html)%0A        parsed_dom = parser.parse_html()%0A        parsed_tags = parsed_dom.get_tags(parsed_dom.root)%0A        expected_tags = test_dom.get_tags(test_dom.root)%0A        self.assertEquals(len(expected_tags), len(parsed_tags))%0A        for i, tag in enumerate(expected_tags):%0A            self.assertEquals(tag.name, parsed_tags%5Bi%5D.name)%0A%0Aif __name__ == '__main__':%0A    unittest.main()
 %0A

add test method for html parsing