newrelic / newrelic-python-agent

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

Update flask tests and enable flaskmaster #1163

Closed lrafeei closed 3 months ago

lrafeei commented 3 months ago

This PR enables the testing of flaskmaster (pulls repo from main branch as well as latest) as well as updating Flask tests. More information found here on why extras were installed separately from archive: https://github.com/pypa/pip/pull/11617

Because jinja2 was pinned to v3.0.3, flasklatest was actually installing Flask v2.1.3 (which is still compatible with that version of jinja2) instead of the actual latest version.

github-actions[bot] commented 3 months ago

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON black 5 0 0 0.71s
✅ PYTHON flake8 5 0 0.31s
✅ PYTHON isort 5 0 0 0.19s
✅ PYTHON pylint 5 0 1.6s

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 3 months ago

Codecov Report

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

Project coverage is 81.64%. Comparing base (16838fb) to head (f5ed603).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1163 +/- ## ========================================== + Coverage 81.61% 81.64% +0.03% ========================================== Files 195 195 Lines 21666 21666 Branches 3780 3780 ========================================== + Hits 17682 17689 +7 + Misses 2892 2878 -14 - Partials 1092 1099 +7 ```

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