(self)
| 880 | fp.write(config) |
| 881 | |
| 882 | def testExtensionConfigOption(self): |
| 883 | config = { |
| 884 | 'markdown.extensions.wikilinks': { |
| 885 | 'base_url': 'http://example.com/', |
| 886 | 'end_url': '.html', |
| 887 | 'html_class': 'test', |
| 888 | }, |
| 889 | 'markdown.extensions.footnotes:FootnotesExtension': { |
| 890 | 'PLACE_MARKER': '~~~footnotes~~~' |
| 891 | } |
| 892 | } |
| 893 | self.create_config_file(config) |
| 894 | options, logging_level = parse_options(['-c', self.tempfile]) |
| 895 | self.default_options['extension_configs'] = config |
| 896 | self.assertEqual(options, self.default_options) |
| 897 | |
| 898 | def textBoolExtensionConfigOption(self): |
| 899 | config = { |
nothing calls this directly
no test coverage detected