Exemple #1
0
 def test_add_attribute_access_staring_with_unicode(self):
     at = HTMLAttributes()
     at.class_ = 'foo'
     at.class_ += 'bar'
     self.check_eq({'class': 'foo bar'}, **at)
Exemple #2
0
 def test_underscore_attribute_access(self):
     at = HTMLAttributes()
     at.class_ = 'foo'
     self.check_eq({'class': 'foo'}, **at)