Skip to content

Added test cases for PythonSitter and Python Analysis #76

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 29, 2025

Conversation

rofrano
Copy link
Collaborator

@rofrano rofrano commented Jan 28, 2025

Made the following changes:

  • Added test cases to bring PythonSitter up to 84% code coverage
  • Added test cases to bring PythonAnalysis up to 100% code coverage
  • Fixed bug in PythonAnalysis.is_parsable() that was calling PythonSitter with wrong parameters
  • Fixed bug in PythonAnalysis.get_raw_ast() that was calling PythonSitter with wrong parameters
  • Renamed cldk/analysis/python/python.py to cldk/analysis/python/python_analysis.py to be PEP8 compliant because it contains the PythonAnalysis class code.

Signed-off-by: John Rofrano <johnnyroy@johnrofrano.com>
Signed-off-by: John Rofrano <johnnyroy@johnrofrano.com>
@rofrano rofrano requested a review from rahlk January 28, 2025 20:23
@rahlk rahlk merged commit 8d118d9 into codellm-devkit:main Jan 29, 2025
1 check passed
@rofrano rofrano deleted the fix-testcases branch January 29, 2025 15:38
@rahlk rahlk added the test Added new tests label Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Added new tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants