Skip to content

Commit 620c1b3

Browse files
committed
WIP - Trying to fix tests
1 parent 91625f4 commit 620c1b3

File tree

4 files changed

+7
-15
lines changed

4 files changed

+7
-15
lines changed
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
extensions = ['sphinxarg.ext']
2-
sphinx_argparse_conf = {
3-
'commands_by_group_index_in_toctree': True,
4-
}
2+
sphinxarg_commands_by_group_index_in_toctree = True
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
extensions = ['sphinxarg.ext']
2-
sphinx_argparse_conf = {
3-
'build_commands_index': True,
4-
'commands_index_in_toctree': True,
5-
}
2+
sphinxarg_build_commands_index = True
3+
sphinxarg_commands_index_in_toctree = True

test/test_commands_by_group_index.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,9 @@ def test_commands_by_group_index_html(app, cached_etree_parse, fname, expect):
9494
'html',
9595
testroot='command-by-group-index',
9696
confoverrides={
97-
'sphinx_argparse_conf': {
98-
'commands_by_group_index_title': 'Commands grouped by SomeName',
99-
'commands_by_group_index_file_suffix': 'groupedby-somename',
100-
'commands_by_group_index_in_toctree': True,
101-
}
97+
'sphinxarg_commands_by_group_index_in_toctree': True,
98+
'sphinxarg_commands_by_group_index_title': 'Commands grouped by SomeName',
99+
'sphinxarg_commands_by_group_index_file_suffix': 'groupedby-somename',
102100
},
103101
)
104102
def test_by_group_index_overrides_html(app, cached_etree_parse, fname, expect):

test/test_conf_options_html.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818
'html',
1919
testroot='conf-opts-html',
2020
confoverrides={
21-
'sphinx_argparse_conf': {
22-
'full_subcommand_name': True,
23-
}
21+
'sphinxarg_full_subcommand_name': True,
2422
},
2523
)
2624
def test_full_subcomand_name_html(app, cached_etree_parse, fname, expect):

0 commit comments

Comments
 (0)