File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -210,13 +210,20 @@ def test_git_root_auto_detection_when_not_configured(tmp_path):
210210 # We just verify it's not None (since this test runs in the sphinx-codelinks repo)
211211 assert src_analyse .git_root is not None
212212 assert (src_analyse .git_root / ".git" ).exists ()
213- oneline_comment_style = ONELINE_COMMENT_STYLE_DEFAULT ,
214- )
213+
215214
216215def test_oneline_parser_warnings_are_collected (tmp_path ):
217216 """Test that oneline parser warnings are collected for later output."""
218217 src_dir = TEST_DIR / "data" / "oneline_comment_default"
219218 src_paths = [src_dir / "default_oneliners.c" ]
219+ src_analyse_config = SourceAnalyseConfig (
220+ src_files = src_paths ,
221+ src_dir = src_dir ,
222+ get_need_id_refs = False ,
223+ get_oneline_needs = True ,
224+ get_rst = False ,
225+ oneline_comment_style = ONELINE_COMMENT_STYLE_DEFAULT ,
226+ )
220227 src_analyse = SourceAnalyse (src_analyse_config )
221228 src_analyse .run ()
222229
You can’t perform that action at this time.
0 commit comments