MCPcopy Create free account
hub / github.com/Python-Markdown/markdown / testGetConfigInfo

Method testGetConfigInfo

tests/test_extensions.py:55–62  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

53 self.assertEqual(self.ext.getConfigs(), {'foo': 'bar', 'bar': 'baz'})
54
55 def testGetConfigInfo(self):
56 self.assertEqual(
57 dict(self.ext.getConfigInfo()),
58 dict([
59 ('foo', 'Description of foo'),
60 ('bar', 'Description of bar')
61 ])
62 )
63
64 def testSetConfig(self):
65 self.ext.setConfig('foo', 'baz')

Callers

nothing calls this directly

Calls 1

getConfigInfoMethod · 0.80

Tested by

no test coverage detected