(self)
| 252 | """ Test the processor registry. """ |
| 253 | |
| 254 | def testCreateRegistry(self): |
| 255 | r = markdown.util.Registry() |
| 256 | r.register(Item('a'), 'a', 20) |
| 257 | self.assertEqual(len(r), 1) |
| 258 | self.assertIsInstance(r, markdown.util.Registry) |
| 259 | |
| 260 | def testRegisterWithoutPriority(self): |
| 261 | r = markdown.util.Registry() |