{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/5"}],"enrichment":{"capability":"Provides argument matchers for unittest.mock that let you assert on mock calls with fine-grained precision\u2014matching on types, values, or custom conditions instead of exact equality or wildcards.","skillfed_tags":["testing","mock","legacy"],"use_cases":["Write mock assertions that check argument types or ranges without over-specifying exact values.","Reduce boilerplate in test code by replacing manual call_args inspection with readable matchers.","Test functions that accept objects of a certain class without caring about their exact identity.","Verify that numeric arguments fall within expected bounds or satisfy custom predicates."],"what_it_does":"callee is a matcher library that sits on top of unittest.mock, letting you write more expressive assertions about what arguments a mock was called with. Instead of choosing between exact equality (which makes tests brittle) or ANY wildcards (which are too loose), you can use matchers like GreaterThan(0), InstanceOf(SomeClass), or String() to assert on properties of the arguments without handcrafting call_args checks.\n\nThe library has no runtime dependencies and is pure Python. It was last released in December 2019 and is no longer actively maintained. The repository is not archived, but there have been no commits since September 2020. It targets Python 2.6 through 3.7 according to its classifiers, making it primarily useful for legacy codebases or when you are constrained to older Python versions.","worth_installing":"No, unless you are maintaining legacy code already using callee or are locked to Python 2.6\u20133.7. The package is abandoned and its target Python versions are out of support. Modern Python test suites should use unittest.mock's built-in features or a maintained alternative."},"id":"callee","links":{"html":"https://skillfed.io/packages/callee","md":"https://skillfed.io/packages/callee.md","pypi":"https://pypi.org/project/callee/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2019-12-24","license_spdx":null,"license_treatment":"permissive","name":"callee","python_support":"unspecified","summary":"Argument matchers for unittest.mock"},"popularity":{"monthly_downloads":157059,"position":10767,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.3.1"}
