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