Пример #1
0
 def write(self, parent=None):
     return css_elem(parent, self.content_string)
Пример #2
0
def test_css_elem():
    el = h.css_elem(None, 'test_style')
    assert str(el) == '<style type="text/css">test_style</style>'