Пример #1
0
 def setUp(self):
     self.not_self_closing_tags = filter(lambda tag: tag is not SelfClosingHtmlTag, HtmlTag.__subclasses__())
     self.self_closing_tags = SelfClosingHtmlTag.__subclasses__()
Пример #2
0
 def setUp(self):
     self.all_attributes = HtmlTagAttribute.__subclasses__()
     self.all_tags = HtmlTag.__subclasses__()