Skip to content
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

NH-67051 Add tests for instrumented_python_framework_versions helper #244

Merged
merged 13 commits into from
Dec 1, 2023

Conversation

tammy-baylis-swi
Copy link
Contributor

@tammy-baylis-swi tammy-baylis-swi commented Nov 30, 2023

Adds unit tests for the big configurator helper method _add_all_instrumented_python_framework_versions used to construct the reporter init message. It's got lots of if because Python module version info storage is not consistent.

Includes one tiny src code change to capitalize the framework keys being written. For example before it wrote something like "Python.urllib.Version": "3.9"; now it writes "Python.Urllib.Version": "3.9" like the function docstring says it should.

Tests last passed at 8319664, before reverting back to c-lib 13.

@tammy-baylis-swi tammy-baylis-swi marked this pull request as ready for review December 1, 2023 19:37
@tammy-baylis-swi tammy-baylis-swi requested a review from a team as a code owner December 1, 2023 19:37
Copy link
Contributor

@cheempz cheempz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @tammy-baylis-swi!

@tammy-baylis-swi tammy-baylis-swi merged commit 6c448aa into main Dec 1, 2023
3 of 11 checks passed
@tammy-baylis-swi tammy-baylis-swi deleted the NH-67051-add-all-instr-fw-tests branch December 1, 2023 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants