diff options
| author | aa-turner <aa-turner@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2022-10-27 17:40:23 +0000 |
|---|---|---|
| committer | aa-turner <aa-turner@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2022-10-27 17:40:23 +0000 |
| commit | 2bbda825ef1d276e5cef415ae17ee4b984da0a7e (patch) | |
| tree | 739bb7aa54d12dfa5559293614656f53f33e379c /docutils/test/functional | |
| parent | 2927db627b5334f93e2b64382486fac0ec07026c (diff) | |
| download | docutils-2bbda825ef1d276e5cef415ae17ee4b984da0a7e.tar.gz | |
Inline ``_default`` in functional tests
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9180 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/functional')
34 files changed, 462 insertions, 10 deletions
diff --git a/docutils/test/functional/tests/_default.py b/docutils/test/functional/tests/_default.py deleted file mode 100644 index 74865487d..000000000 --- a/docutils/test/functional/tests/_default.py +++ /dev/null @@ -1,10 +0,0 @@ -# Default settings for all tests. - -settings_overrides['report_level'] = 2 -settings_overrides['halt_level'] = 5 -settings_overrides['warning_stream'] = '' -settings_overrides['input_encoding'] = 'utf-8' -settings_overrides['embed_stylesheet'] = False -settings_overrides['auto_id_prefix'] = '%' -# avoid "Pygments not found" -settings_overrides['syntax_highlight'] = 'none' diff --git a/docutils/test/functional/tests/compact_lists.py b/docutils/test/functional/tests/compact_lists.py index 9a8ecf044..9093c93af 100644 --- a/docutils/test/functional/tests/compact_lists.py +++ b/docutils/test/functional/tests/compact_lists.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Source and destination file names. test_source = "compact_lists.txt" test_destination = "compact_lists.html" diff --git a/docutils/test/functional/tests/dangerous.py b/docutils/test/functional/tests/dangerous.py index 84f467163..467140502 100644 --- a/docutils/test/functional/tests/dangerous.py +++ b/docutils/test/functional/tests/dangerous.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Source and destination file names. test_source = "dangerous.txt" test_destination = "dangerous.html" diff --git a/docutils/test/functional/tests/field_name_limit.py b/docutils/test/functional/tests/field_name_limit.py index 3a2611c5d..d79f2bfce 100644 --- a/docutils/test/functional/tests/field_name_limit.py +++ b/docutils/test/functional/tests/field_name_limit.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Source and destination file names. test_source = "field_list.txt" test_destination = "field_name_limit.html" diff --git a/docutils/test/functional/tests/footnotes_html5.py b/docutils/test/functional/tests/footnotes_html5.py index fc32161d6..fbaead8c2 100644 --- a/docutils/test/functional/tests/footnotes_html5.py +++ b/docutils/test/functional/tests/footnotes_html5.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Keyword parameters passed to publish_file. reader_name = 'standalone' parser_name = 'rst' diff --git a/docutils/test/functional/tests/latex_babel.py b/docutils/test/functional/tests/latex_babel.py index d565da0cd..d8cdf6632 100644 --- a/docutils/test/functional/tests/latex_babel.py +++ b/docutils/test/functional/tests/latex_babel.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Source and destination file names. test_source = "latex_babel.txt" test_destination = "latex_babel.tex" diff --git a/docutils/test/functional/tests/latex_cornercases.py b/docutils/test/functional/tests/latex_cornercases.py index 6bf46397a..2e3bc6b95 100644 --- a/docutils/test/functional/tests/latex_cornercases.py +++ b/docutils/test/functional/tests/latex_cornercases.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Source and destination file names. test_source = "latex_cornercases.txt" test_destination = "latex_cornercases.tex" diff --git a/docutils/test/functional/tests/latex_cyrillic.py b/docutils/test/functional/tests/latex_cyrillic.py index 6d78fc264..5dcd56526 100644 --- a/docutils/test/functional/tests/latex_cyrillic.py +++ b/docutils/test/functional/tests/latex_cyrillic.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Source and destination file names. test_source = "cyrillic.txt" test_destination = "cyrillic.tex" diff --git a/docutils/test/functional/tests/latex_docinfo.py b/docutils/test/functional/tests/latex_docinfo.py index 5b63ea817..b6097645c 100644 --- a/docutils/test/functional/tests/latex_docinfo.py +++ b/docutils/test/functional/tests/latex_docinfo.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Source and destination file names. test_source = "latex_docinfo.txt" test_destination = "latex_docinfo.tex" diff --git a/docutils/test/functional/tests/latex_leavevmode.py b/docutils/test/functional/tests/latex_leavevmode.py index 0cefa80ec..27e1c0e84 100644 --- a/docutils/test/functional/tests/latex_leavevmode.py +++ b/docutils/test/functional/tests/latex_leavevmode.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Source and destination file names. test_source = "latex_leavevmode.txt" test_destination = "latex_leavevmode.tex" diff --git a/docutils/test/functional/tests/latex_literal_block.py b/docutils/test/functional/tests/latex_literal_block.py index 30ea21998..9991b40e3 100644 --- a/docutils/test/functional/tests/latex_literal_block.py +++ b/docutils/test/functional/tests/latex_literal_block.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Source and destination file names. test_source = "latex_literal_block.txt" test_destination = "latex_literal_block.tex" diff --git a/docutils/test/functional/tests/latex_literal_block_fancyvrb.py b/docutils/test/functional/tests/latex_literal_block_fancyvrb.py index f93dd1fbb..ffb934e98 100644 --- a/docutils/test/functional/tests/latex_literal_block_fancyvrb.py +++ b/docutils/test/functional/tests/latex_literal_block_fancyvrb.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Source and destination file names. test_source = "latex_literal_block.txt" test_destination = "latex_literal_block_fancyvrb.tex" diff --git a/docutils/test/functional/tests/latex_literal_block_listings.py b/docutils/test/functional/tests/latex_literal_block_listings.py index ddc48753c..1120c76e0 100644 --- a/docutils/test/functional/tests/latex_literal_block_listings.py +++ b/docutils/test/functional/tests/latex_literal_block_listings.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Source and destination file names. test_source = "latex_literal_block.txt" test_destination = "latex_literal_block_listings.tex" diff --git a/docutils/test/functional/tests/latex_literal_block_verbatim.py b/docutils/test/functional/tests/latex_literal_block_verbatim.py index 8722f5673..4e5faf076 100644 --- a/docutils/test/functional/tests/latex_literal_block_verbatim.py +++ b/docutils/test/functional/tests/latex_literal_block_verbatim.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Source and destination file names. test_source = "latex_literal_block.txt" test_destination = "latex_literal_block_verbatim.tex" diff --git a/docutils/test/functional/tests/latex_literal_block_verbatimtab.py b/docutils/test/functional/tests/latex_literal_block_verbatimtab.py index d1c4476cc..6c5b971d2 100644 --- a/docutils/test/functional/tests/latex_literal_block_verbatimtab.py +++ b/docutils/test/functional/tests/latex_literal_block_verbatimtab.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Source and destination file names. test_source = "latex_literal_block.txt" test_destination = "latex_literal_block_verbatimtab.tex" diff --git a/docutils/test/functional/tests/latex_memoir.py b/docutils/test/functional/tests/latex_memoir.py index 4ccab6725..617d547b1 100644 --- a/docutils/test/functional/tests/latex_memoir.py +++ b/docutils/test/functional/tests/latex_memoir.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Source and destination file names. test_source = "standalone_rst_latex.txt" test_destination = "latex_memoir.tex" diff --git a/docutils/test/functional/tests/math_output_html.py b/docutils/test/functional/tests/math_output_html.py index cca0af8a8..15448c1fc 100644 --- a/docutils/test/functional/tests/math_output_html.py +++ b/docutils/test/functional/tests/math_output_html.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Source and destination file names. test_source = "data/math.txt" test_destination = "math_output_html.html" diff --git a/docutils/test/functional/tests/math_output_latex.py b/docutils/test/functional/tests/math_output_latex.py index 09b0819ec..fb9e236b7 100644 --- a/docutils/test/functional/tests/math_output_latex.py +++ b/docutils/test/functional/tests/math_output_latex.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Source and destination file names. test_source = "data/math.txt" test_destination = "math_output_latex.html" diff --git a/docutils/test/functional/tests/math_output_mathjax.py b/docutils/test/functional/tests/math_output_mathjax.py index a0441dd21..ee755f74d 100644 --- a/docutils/test/functional/tests/math_output_mathjax.py +++ b/docutils/test/functional/tests/math_output_mathjax.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Source and destination file names. test_source = "data/math.txt" test_destination = "math_output_mathjax.html" diff --git a/docutils/test/functional/tests/math_output_mathml.py b/docutils/test/functional/tests/math_output_mathml.py index f73e23632..1e52edc26 100644 --- a/docutils/test/functional/tests/math_output_mathml.py +++ b/docutils/test/functional/tests/math_output_mathml.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Source and destination file names. test_source = "data/math.txt" test_destination = "math_output_mathml.html" diff --git a/docutils/test/functional/tests/misc_rst_html4css1.py b/docutils/test/functional/tests/misc_rst_html4css1.py index 6227e9afd..8d2ae10b5 100644 --- a/docutils/test/functional/tests/misc_rst_html4css1.py +++ b/docutils/test/functional/tests/misc_rst_html4css1.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Source and destination file names. test_source = "misc_rst_html4css1.txt" test_destination = "misc_rst_html4css1.html" diff --git a/docutils/test/functional/tests/misc_rst_html5.py b/docutils/test/functional/tests/misc_rst_html5.py index d07121f8e..add484e25 100644 --- a/docutils/test/functional/tests/misc_rst_html5.py +++ b/docutils/test/functional/tests/misc_rst_html5.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Source and destination file names. test_source = "misc_rst_html5.txt" test_destination = "misc_rst_html5.html" diff --git a/docutils/test/functional/tests/pep_html.py b/docutils/test/functional/tests/pep_html.py index 09c796292..b2acbbbbf 100644 --- a/docutils/test/functional/tests/pep_html.py +++ b/docutils/test/functional/tests/pep_html.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Source and destination file names. test_source = "pep_html.txt" test_destination = "pep_html.html" diff --git a/docutils/test/functional/tests/standalone_rst_docutils_xml.py b/docutils/test/functional/tests/standalone_rst_docutils_xml.py index 27e2b5983..18c78f8be 100644 --- a/docutils/test/functional/tests/standalone_rst_docutils_xml.py +++ b/docutils/test/functional/tests/standalone_rst_docutils_xml.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Keyword parameters passed to publish_file. reader_name = 'standalone' parser_name = 'rst' diff --git a/docutils/test/functional/tests/standalone_rst_html4css1.py b/docutils/test/functional/tests/standalone_rst_html4css1.py index 229fcc2c4..ab2f17845 100644 --- a/docutils/test/functional/tests/standalone_rst_html4css1.py +++ b/docutils/test/functional/tests/standalone_rst_html4css1.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Keyword parameters passed to publish_file. reader_name = 'standalone' parser_name = 'rst' diff --git a/docutils/test/functional/tests/standalone_rst_html5.py b/docutils/test/functional/tests/standalone_rst_html5.py index ad4a2cc75..8e3b68046 100644 --- a/docutils/test/functional/tests/standalone_rst_html5.py +++ b/docutils/test/functional/tests/standalone_rst_html5.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Keyword parameters passed to publish_file. reader_name = 'standalone' parser_name = 'rst' diff --git a/docutils/test/functional/tests/standalone_rst_html5_tuftig.py b/docutils/test/functional/tests/standalone_rst_html5_tuftig.py index eb45715a2..adf544853 100644 --- a/docutils/test/functional/tests/standalone_rst_html5_tuftig.py +++ b/docutils/test/functional/tests/standalone_rst_html5_tuftig.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Keyword parameters passed to publish_file. reader_name = 'standalone' parser_name = 'rst' diff --git a/docutils/test/functional/tests/standalone_rst_latex.py b/docutils/test/functional/tests/standalone_rst_latex.py index 363654a9d..3c14e0536 100644 --- a/docutils/test/functional/tests/standalone_rst_latex.py +++ b/docutils/test/functional/tests/standalone_rst_latex.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Keyword parameters passed to publish_file. reader_name = 'standalone' parser_name = 'rst' diff --git a/docutils/test/functional/tests/standalone_rst_manpage.py b/docutils/test/functional/tests/standalone_rst_manpage.py index 8919a19a3..f4b133c11 100644 --- a/docutils/test/functional/tests/standalone_rst_manpage.py +++ b/docutils/test/functional/tests/standalone_rst_manpage.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Keyword parameters passed to publish_file. reader_name = 'standalone' parser_name = 'rst' diff --git a/docutils/test/functional/tests/standalone_rst_pseudoxml.py b/docutils/test/functional/tests/standalone_rst_pseudoxml.py index 82ea0bc86..25872b101 100644 --- a/docutils/test/functional/tests/standalone_rst_pseudoxml.py +++ b/docutils/test/functional/tests/standalone_rst_pseudoxml.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Keyword parameters passed to publish_file. reader_name = 'standalone' parser_name = 'rst' diff --git a/docutils/test/functional/tests/standalone_rst_s5_html_1.py b/docutils/test/functional/tests/standalone_rst_s5_html_1.py index 282df5ad8..430660b96 100755 --- a/docutils/test/functional/tests/standalone_rst_s5_html_1.py +++ b/docutils/test/functional/tests/standalone_rst_s5_html_1.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + import filecmp as _filecmp diff --git a/docutils/test/functional/tests/standalone_rst_s5_html_2.py b/docutils/test/functional/tests/standalone_rst_s5_html_2.py index 2e9f104ce..35ea4a812 100755 --- a/docutils/test/functional/tests/standalone_rst_s5_html_2.py +++ b/docutils/test/functional/tests/standalone_rst_s5_html_2.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # initialize with the settings & definitions from test 1: with open('functional/tests/standalone_rst_s5_html_1.py', encoding='utf-8') as _f: diff --git a/docutils/test/functional/tests/standalone_rst_xetex.py b/docutils/test/functional/tests/standalone_rst_xetex.py index 1b7209ed1..aa1207013 100644 --- a/docutils/test/functional/tests/standalone_rst_xetex.py +++ b/docutils/test/functional/tests/standalone_rst_xetex.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Keyword parameters passed to publish_file. reader_name = 'standalone' parser_name = 'rst' diff --git a/docutils/test/functional/tests/xetex_cyrillic.py b/docutils/test/functional/tests/xetex_cyrillic.py index 4a35a3bc3..6c8ba767d 100644 --- a/docutils/test/functional/tests/xetex_cyrillic.py +++ b/docutils/test/functional/tests/xetex_cyrillic.py @@ -1,3 +1,17 @@ +# Default settings for all tests. + +settings_overrides = { + '_disable_config': True, + 'report_level': 2, + 'halt_level': 5, + 'warning_stream': '', + 'input_encoding': 'utf-8', + 'embed_stylesheet': False, + 'auto_id_prefix': '%', + # avoid "Pygments not found" + 'syntax_highlight': 'none' +} + # Source and destination file names. test_source = "cyrillic.txt" test_destination = "xetex-cyrillic.tex" |
