Closed nfx closed 5 months ago
✅ 11/11 passed, 2 skipped, 20s total
Running from acceptance #123
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 78.49%. Comparing base (
47ab384
) to head (a552546
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
assert_file_uploaded
andassert_file_dbfs_uploaded
inMockInstallation
(#101). The recent commit introduces a content assertion feature to theMockInstallation
class, enhancing its testing capabilities. This is achieved by adding an optionalexpected
parameter of typebytes
to theassert_file_uploaded
andassert_file_dbfs_uploaded
methods, allowing users to verify the uploaded content's correctness. The_assert_upload
method has also been updated to accept this new parameter, ensuring the actual uploaded content matches the expected content. Furthermore, the commit includes informative docstrings for the new and updated methods, providing clear explanations of their functionality and usage. To support these improvements, new test casestest_assert_file_uploaded
andtest_load_empty_data_class
have been added to thetests/unit/test_installation.py
file, enabling more rigorous testing of theMockInstallation
class and ensuring that the expected content is uploaded correctly.parallel.Threads
(#93). In this release, we have enhanced theparallel.Threads
module with the ability to handle partial functions, addressing issue #93. This improvement includes the addition of a new static method,_get_result_function_signature
, to obtain the signature of a function or a string representation of its arguments and keywords if it is a partial function. The_wrap_result
class method has also been updated to log an error message with the function's signature if an exception occurs. Furthermore, we have added a new test case,test_odd_partial_failed
, to the unit tests, ensuring that thegather
function handles partial functions that raise errors correctly. The Python version required for this project remains at 3.10, and thepyproject.toml
file has been updated to include "isort", "mypy", "types-PyYAML", andtypes-requests
in the list of dependencies. These adjustments are aimed at improving the functionality and type checking in theparallel.Threads
module.pyproject.toml
file. Additionally, theNiceFormatter
class inlogger.py
has been improved for better code readability, and the versioning scheme has been updated to ensure SemVer and PEP440 compliance, making it easier to manage and understand the project's versioning. Developers adopting the project will benefit from these alignments, as they promote adherence to the project's standards and up-to-date best practices.Dependency updates: