From 5719ae9e26c5ebc88b94283a3a183a76db27a933 Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Fri, 16 Aug 2024 17:39:07 +0300 Subject: [PATCH] remove generate_compilation_database --- tests/test_clang_tidy.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_clang_tidy.py b/tests/test_clang_tidy.py index e8a3348..a62203b 100644 --- a/tests/test_clang_tidy.py +++ b/tests/test_clang_tidy.py @@ -18,9 +18,8 @@ def generate_compilation_database(): (['--checks="boost-*"', '--version=16'], 1), ), ) -def test_run_clang_tidy_valid(args, expected_retval, generate_compilation_database): +def test_run_clang_tidy_valid(args, expected_retval): # copy test file to tmp_path to prevent modifying repo data - generate_compilation_database test_file = Path("testing/main.c") test_file.write_bytes(Path("testing/main.c").read_bytes()) ret, output = run_clang_tidy(args + [str(test_file)])