Chai

Latest version: v1.1.2

Safety actively analyzes 629855 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 7

0.1.19

======

Fixed failure to teardown stub on __new__ after `expect(type)`

0.1.18

======

Simplified stubbing of object creation, so that `expect(type)` can be used as
if it was mocking __init__, but return an object as if it was mocking __new__.

0.1.17

======

Fix edge case where an attribute might not be defined on a class when
calling stub(obj, 'attr').

0.1.16

======

Added Mock.__nonzero__ to re-support "if exists" code, which was broken by
the addition of Mock.__len__.

0.1.15

======

Added container and context manager interfaces to Mock object

0.1.14

======

Added 'any_args' expectation modifier and 'like' comparator. See documentaion
for details.

Page 6 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.