Lines Matching refs:odict
134 self.odict = markdown.odict.OrderedDict()
135 self.odict['first'] = 'This'
136 self.odict['third'] = 'a'
137 self.odict['fourth'] = 'self'
138 self.odict['fifth'] = 'test'
142 self.assertEqual(self.odict.values(), ['This', 'a', 'self', 'test'])
146 self.assertEqual(self.odict.keys(),
151 self.assertEqual(self.odict.items(),
157 self.odict.add('second', 'is', '<third')
158 self.assertEqual(self.odict.items(),
164 self.odict.add('second', 'is', '>first')
165 self.assertEqual(self.odict.items(),
171 self.odict.add('sixth', '.', '>fifth')
172 self.assertEqual(self.odict.items(),
178 self.odict.add('zero', 'CRAZY', '_begin')
179 self.assertEqual(self.odict.items(),
185 self.odict.add('sixth', '.', '_end')
186 self.assertEqual(self.odict.items(),
192 self.assertRaises(ValueError, self.odict.add, 'sixth', '.', '<seventh')
193 self.assertRaises(ValueError, self.odict.add, 'second', 'is', 'third')
197 del self.odict['fourth']
198 self.assertEqual(self.odict.items(),
203 self.odict['fourth'] = 'CRAZY'
204 self.assertEqual(self.odict.items(),
210 self.odict.link('fourth', '<third')
211 self.assertEqual(self.odict.items(),