{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/4"}],"enrichment":{"capability":"Provides awaitable mock objects for testing async code, extending the standard mock framework with AsyncMock that can be awaited like coroutines.","skillfed_tags":["testing","legacy","abandoned"],"use_cases":["Mock async functions in unit tests for Python 3.6\u20133.7 projects that predate built-in AsyncMock","Test async methods with call assertions and side effects in older codebases","Verify that async code correctly awaits mocked coroutines during development"],"what_it_does":"Asyncmock extends the standard mock library to support testing async code by providing an AsyncMock class that behaves like a regular Mock but can be awaited. It handles async method calls, side effects, and return values, allowing developers to mock coroutines and async functions in unit tests.\n\nThe package was designed as a backport for Python versions before 3.8, when awaitable mocks were not yet part of the standard library. It is now superseded by built-in functionality\u2014the description notes that Mock 4.0+ (included within Python 3.8+) now includes an awaitable mock mock.AsyncMock, which is recommended for new projects. The package is no longer maintained\u2014its repository is archived and the last release was in 2020-03-15.","worth_installing":"No, not for new projects. The description explicitly notes that Mock 4.0+ (included within Python 3.8+) now includes mock.AsyncMock and recommends it for new projects. For legacy Python 3.6\u20133.7 codebases, this package is an option, but its abandonment means no maintenance or compatibility updates."},"id":"asyncmock","links":{"html":"https://skillfed.io/packages/asyncmock","md":"https://skillfed.io/packages/asyncmock.md","pypi":"https://pypi.org/project/asyncmock/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2020-03-15","license_spdx":null,"license_treatment":"permissive","name":"asyncmock","python_support":"supports_current","summary":"Extension to the standard mock framework to support support async"},"popularity":{"monthly_downloads":284212,"position":8065,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.2"}
