(self)
| 228 | """ Test the processor registry. """ |
| 229 | |
| 230 | def testCreateRegistry(self): |
| 231 | r = markdown.util.Registry() |
| 232 | r.register(Item('a'), 'a', 20) |
| 233 | self.assertEqual(len(r), 1) |
| 234 | self.assertIsInstance(r, markdown.util.Registry) |
| 235 | |
| 236 | def testRegisterWithoutPriority(self): |
| 237 | r = markdown.util.Registry() |