Ejemplo n.º 1
0
 def test_attributes_map(self):
     self.assertEqual(attributes(attributes={'spam': 'eggs'}),
         ' [spam=eggs]')
Ejemplo n.º 2
0
 def test_attributes_pairs(self):
     self.assertEqual(attributes(attributes=[('spam', 'eggs')]),
         ' [spam=eggs]')
Ejemplo n.º 3
0
 def test_attributes_raw(self):
     self.assertEqual(attributes(raw='spam'),
         ' [spam]')
Ejemplo n.º 4
0
 def test_attributes_map(self):
     self.assertEqual(attributes(attributes={'spam': 'eggs'}),
         ' [spam=eggs]')
Ejemplo n.º 5
0
 def test_attributes_pairs(self):
     self.assertEqual(attributes(attributes=[('spam', 'eggs')]),
         ' [spam=eggs]')
Ejemplo n.º 6
0
 def test_attributes_raw(self):
     self.assertEqual(attributes(raw='spam'), ' [spam]')