Skip to content

tests: add coverage for extraction script - #2837

Merged
bghira merged 1 commit into
mainfrom
chore/add-tests-for-extractor
Jul 17, 2026
Merged

tests: add coverage for extraction script#2837
bghira merged 1 commit into
mainfrom
chore/add-tests-for-extractor

Conversation

@bghira

@bghira bghira commented Jul 17, 2026

Copy link
Copy Markdown
Owner

This pull request adds a new unit test to verify that the extract_metadata_from_module function correctly ignores imported model classes and only extracts metadata from local model classes. The test ensures the function behaves as expected when both local and imported classes are present in a module.

Testing improvements:

  • Added ExtractModelMetadataTestCase to tests/test_extract_model_metadata.py to test that extract_metadata_from_module ignores imported model classes and extracts metadata only from local classes.

@bghira
bghira merged commit cd0d650 into main Jul 17, 2026
2 checks passed
@bghira
bghira deleted the chore/add-tests-for-extractor branch July 17, 2026 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant