Closed gavin-aguiar closed 1 year ago
Merging #1259 (0e9ce79) into dev (78274ef) will decrease coverage by
53.26%
. The diff coverage isn/a
.:exclamation: Current head 0e9ce79 differs from pull request most recent head 58da026. Consider uploading reports for the commit 58da026 to get more accurate results
@@ Coverage Diff @@
## dev #1259 +/- ##
===========================================
- Coverage 85.24% 31.98% -53.26%
===========================================
Files 34 34
Lines 1904 1904
Branches 366 366
===========================================
- Hits 1623 609 -1014
- Misses 219 1294 +1075
+ Partials 62 1 -61
Flag | Coverage Δ | |
---|---|---|
unittests | 31.98% <ø> (-53.21%) |
:arrow_down: |
Flags with carried forward coverage won't be shown. Click here to find out more.
Description: CI pipelines were failing with module not found error for test/utils. Pytest installed in the agent could not find tests/utils module since its not a part of the azure-functions-worker. When you run pytest directly, the command is executed as a script and assumes that pytest is installed and available in the system's PATH. Using python -m pytest invokes the pytest module as a package through the Python interpreter. This way all the modules within the root folder are added to sys.modules.
Fixes https://github.com/Azure/azure-functions-python-worker/issues/1230
PR information
Quality of Code and Contribution Guidelines