newrelic / newrelic-python-agent

New Relic Python Agent
https://docs.newrelic.com/docs/agents/python-agent
Apache License 2.0
178 stars 102 forks source link

Refactor AI tests #1103

Closed umaannamalai closed 7 months ago

umaannamalai commented 8 months ago

This PR abstracts shared AI test functions into a common utility test file and cleans up test structure.

github-actions[bot] commented 8 months ago

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON black 22 0 0 2.28s
✅ PYTHON flake8 22 0 1.34s
✅ PYTHON isort 22 0 0 0.26s
✅ PYTHON pylint 22 0 10.18s

See detailed report in MegaLinter reports _Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff_

_MegaLinter is graciously provided by OX Security_

codecov-commenter commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.82%. Comparing base (b950070) to head (ecfee24). Report is 20 commits behind head on develop-ai-limited-preview-3.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop-ai-limited-preview-3 #1103 +/- ## ================================================================ - Coverage 81.86% 81.82% -0.04% ================================================================ Files 192 192 Lines 21253 21253 Branches 3711 3707 -4 ================================================================ - Hits 17398 17391 -7 - Misses 2783 2789 +6 - Partials 1072 1073 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.