(self)
| 904 | fp.write(config) |
| 905 | |
| 906 | def testExtensionConfigOption(self): |
| 907 | config = { |
| 908 | 'markdown.extensions.wikilinks': { |
| 909 | 'base_url': 'http://example.com/', |
| 910 | 'end_url': '.html', |
| 911 | 'html_class': 'test', |
| 912 | }, |
| 913 | 'markdown.extensions.footnotes:FootnotesExtension': { |
| 914 | 'PLACE_MARKER': '~~~footnotes~~~' |
| 915 | } |
| 916 | } |
| 917 | self.create_config_file(config) |
| 918 | options, logging_level = parse_options(['-c', self.tempfile]) |
| 919 | self.default_options['extension_configs'] = config |
| 920 | self.assertEqual(options, self.default_options) |
| 921 | |
| 922 | def textBoolExtensionConfigOption(self): |
| 923 | config = { |
nothing calls this directly
no test coverage detected