Chai

Latest version: v1.1.2

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

Scan your dependencies

Page 4 of 7

0.3.2

=====

Expectations with a type argument are matched against either an instance
of that type, or the type itself

0.3.1

=====

Further fixed global namespace manipulation on test class hierarchies

0.3.0

=====

Improve iterative expectations by not insisting that one knows how many
times an expectation will be called unless explicitly set

Assume any arguments on an expectation unless explicitly set

Fixed stubbing properties on an instance

0.2.4

=====

Fixes bug in stubs on types by preventing secondary initialization

0.2.3

=====

Mock objects report parameters and method name when raising UnexpectedCall

Fixed global namespace manipulation on deeply nested Chai subclasses

0.2.2

=====

UnexpectedCall is now a BaseException which is re-raised as an AssertionError
in Chai metaclass `test_wrapper` method. This decreases the chance that
UnexpectedCall will be caught by the application code being tested.

Page 4 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.