azure-functions-python-worker
azure-functions-python-worker copied to clipboard
Refactoring tests utils
Description
Key Changes:
- Moved testutils and testutils_lc to tests/utils
- Fixed linux consumption tests where the tests were not picking up the latest image version
- Deleted tests/common dir. Its not used.
- Pinned fastapi to 0.85.0. Latest release version has some bug.
- Skipped SQL tests. TODO: unskip when library containing sql is released in test.pypi.
- Skipped test_rpc_messages test: TODO: Flaky tests. Throwing module not found errors. Needs to be fixed.
PR information
- [x] The title of the PR is clear and informative.
- [ ] There are a small number of commits, each of which has an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
- [ ] If applicable, the PR references the bug/issue that it fixes in the description.
- [x] New Unit tests were added for the changes made and CI is passing.
Quality of Code and Contribution Guidelines
- [ ] I have read the contribution guidelines.
Codecov Report
Merging #1109 (8af8143) into dev (e090dcc) will increase coverage by
0.22%
. The diff coverage isn/a
.
@@ Coverage Diff @@
## dev #1109 +/- ##
==========================================
+ Coverage 84.74% 84.97% +0.22%
==========================================
Files 33 32 -1
Lines 1849 1817 -32
Branches 275 275
==========================================
- Hits 1567 1544 -23
+ Misses 210 203 -7
+ Partials 72 70 -2
Flag | Coverage Δ | |
---|---|---|
unittests | 84.92% <ø> (+0.17%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
Impacted Files | Coverage Δ | |
---|---|---|
azure_functions_worker/constants.py | ||
azure_functions_worker/extension.py | 99.08% <0.00%> (+0.91%) |
:arrow_up: |
azure_functions_worker/logging.py | 47.16% <0.00%> (+3.77%) |
:arrow_up: |
azure_functions_worker/bindings/datumdef.py | 72.22% <0.00%> (+4.16%) |
:arrow_up: |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.