def write(self, parent=None): return css_elem(parent, self.content_string)
def test_css_elem(): el = h.css_elem(None, 'test_style') assert str(el) == '<style type="text/css">test_style</style>'