Azure / azure-functions-python-worker

Python worker for Azure Functions.
http://aka.ms/azurefunctions
MIT License
335 stars 103 forks source link

Added generic tests for http and servicebus #1043

Closed gavin-aguiar closed 2 years ago

gavin-aguiar commented 2 years ago

Description

Added generic tests for http and servicebus

Fixes #


PR information

Quality of Code and Contribution Guidelines

codecov[bot] commented 2 years ago

Codecov Report

Merging #1043 (74c0f27) into dev (3c23a24) will decrease coverage by 50.50%. The diff coverage is n/a.

:exclamation: Current head 74c0f27 differs from pull request most recent head b1ad517. Consider uploading reports for the commit b1ad517 to get more accurate results

@@             Coverage Diff             @@
##              dev    #1043       +/-   ##
===========================================
- Coverage   82.88%   32.37%   -50.51%     
===========================================
  Files          33       33               
  Lines        1776     1776               
  Branches      282      282               
===========================================
- Hits         1472      575      -897     
- Misses        234     1200      +966     
+ Partials       70        1       -69     
Flag Coverage Δ
unittests 32.37% <ø> (-50.51%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
azure_functions_worker/functions.py 24.15% <0.00%> (-70.79%) :arrow_down:
azure_functions_worker/dispatcher.py 19.36% <0.00%> (-69.77%) :arrow_down:
azure_functions_worker/utils/tracing.py 31.81% <0.00%> (-68.19%) :arrow_down:
azure_functions_worker/utils/common.py 33.33% <0.00%> (-66.67%) :arrow_down:
azure_functions_worker/bindings/meta.py 25.30% <0.00%> (-55.43%) :arrow_down:
...s/shared_memory_data_transfer/shared_memory_map.py 28.57% <0.00%> (-55.36%) :arrow_down:
.../shared_memory_data_transfer/file_accessor_unix.py 19.60% <0.00%> (-54.91%) :arrow_down:
azure_functions_worker/extension.py 44.95% <0.00%> (-54.13%) :arrow_down:
azure_functions_worker/utils/dependency.py 33.08% <0.00%> (-53.39%) :arrow_down:
...ared_memory_data_transfer/shared_memory_manager.py 26.80% <0.00%> (-51.55%) :arrow_down:
... and 13 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3c23a24...b1ad517. Read the comment docs.