test(fuzzer): add fuzzing tests for capec_map_enricher.py (fixes #2167)#2834
Merged
sydseter merged 5 commits intoOWASP:masterfrom Apr 18, 2026
Merged
Conversation
0f2cc4d to
945c5ee
Compare
Contributor
Author
|
hii @sydseter sir , The ClusterFuzzLite failures are caused by a pre existing conflict in upstream master's install_cornucopia_deps.txt: pathspec==0.12.1 conflicts with mypy==1.20.0 which requires pathspec>=1.0.0. Should I open a separate PR to fix this dependency conflict, or will it be handled separately? |
Collaborator
|
@Adarshkumar0509 We should look at that separately. If you want to, you are welcome to have a go at it. I‘ll merge this. Your improving test coverage is good enough. |
sydseter
approved these changes
Apr 18, 2026
Contributor
Author
|
Thank you @sydseter yeah that make sense I would be happy to open a separate PR to fix the pathspec dependency conflict. I will work on that next. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2167
Changes
tests/scripts/capec_map_enricher_fuzzer.pyto follow thesame pattern as the existing
convert_fuzzer.pyunittest.TestCaseandassertLogspattern matching convert_fuzzer.pyenricher_varswith a validargsNamespace at modulelevel to prevent crash in
set_logging()before mocks applycapec_json) as separate test cases
install_cornucopia_deps.txt: updated pathspec from 0.12.1 to1.0.0 with correct hash to resolve dependency conflict with mypy
Testing
check_buildpassed:INFO:__main__:Check build passed.AI Tool Disclosure
Affirmation