(self)
| 33 | """ Test markdown.extensions.Extension. """ |
| 34 | |
| 35 | def setUp(self): |
| 36 | class TestExtension(markdown.extensions.Extension): |
| 37 | config = { |
| 38 | 'foo': ['bar', 'Description of foo'], |
| 39 | 'bar': ['baz', 'Description of bar'] |
| 40 | } |
| 41 | |
| 42 | self.ext = TestExtension() |
| 43 | self.ExtKlass = TestExtension |
| 44 | |
| 45 | def testGetConfig(self): |
| 46 | self.assertEqual(self.ext.getConfig('foo'), 'bar') |
nothing calls this directly
no test coverage detected