(self)
| 845 | fp.write(config) |
| 846 | |
| 847 | def testExtensionConfigOption(self): |
| 848 | config = { |
| 849 | 'markdown.extensions.wikilinks': { |
| 850 | 'base_url': 'http://example.com/', |
| 851 | 'end_url': '.html', |
| 852 | 'html_class': 'test', |
| 853 | }, |
| 854 | 'markdown.extensions.footnotes:FootnotesExtension': { |
| 855 | 'PLACE_MARKER': '~~~footnotes~~~' |
| 856 | } |
| 857 | } |
| 858 | self.create_config_file(config) |
| 859 | options, logging_level = parse_options(['-c', self.tempfile]) |
| 860 | self.default_options['extension_configs'] = config |
| 861 | self.assertEqual(options, self.default_options) |
| 862 | |
| 863 | def textBoolExtensionConfigOption(self): |
| 864 | config = { |
nothing calls this directly
no test coverage detected