MCPcopy Index your code
hub / github.com/Python-Markdown/markdown / testSetConfig

Method testSetConfig

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

Source from the content-addressed store, hash-verified

62 )
63
64 def testSetConfig(self):
65 self.ext.setConfig('foo', 'baz')
66 self.assertEqual(self.ext.getConfigs(), {'foo': 'baz', 'bar': 'baz'})
67
68 def testSetConfigWithBadKey(self):
69 # `self.ext.setConfig('bad', 'baz)` => `KeyError`

Callers

nothing calls this directly

Calls 2

setConfigMethod · 0.80
getConfigsMethod · 0.80

Tested by

no test coverage detected