8000 Updated test fixture setup to use codeanalyzer jar from cldk/analysis… · codellm-devkit/python-sdk@d6a3a6d · GitHub
[go: up one dir, main page]

Skip to content

Commit d6a3a6d

Browse files
committed
Updated test fixture setup to use codeanalyzer jar from cldk/analysis/java/codeanalyzer/jar
instead of the test resources directory; removed dangling codeanalyzer jars from test resources Signed-off-by: Saurabh Sinha <sinha108@gmail.com>
1 parent 8272fcb commit d6a3a6d

File tree

7 files changed

+2
-3
lines changed

7 files changed

+2
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,4 @@ directory = "coverage_html_report"
120120
sample-c-application = "tests/resources/c/application/"
121121
sample-application = "tests/resources/java/application/"
122122
sample-application-analysis-json = "tests/resources/java/analysis_json/"
123-
codeanalyzer-jar-path = "tests/resources/java/codeanalyzer_jars/"
123+
codeanalyzer-jar-path = "cldk/analysis/java/codeanalyzer/jar/"

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def codeanalyzer_jar_path():
7575
# Load the configuration
7676
config = toml.load(pyproject_path)
7777

78-
return Path(config["tool"]["cldk"]["testing"]["codeanalyzer-jar-path"]) / "2.3.0"
78+
return Path(config["tool"]["cldk"]["testing"]["codeanalyzer-jar-path"])
7979

8080

8181
@pytest.fixture(scope="session", autouse=True)

tests/resources/java/codeanalyzer_jars/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)
0