Release notes / Changelog¶
- Asynchronous spy assertion race condition bug fixed.
- Reading double attributes returns collaborator.class attribute values by default.
- Invocation stubbed return value is now stored.
- New low level spy API: double “calls” property provides access to invocations and their argument values. Each ‘call’ has an “args” sequence and “kargs dictionary”. This provides support to perform individual assertions and direct access to invocation argument values. (see test and doc).
This release includes support for asynchronous spy assertions. See this blog post for the time being, soon in the official documentation.
Since this release, doublex supports the pyDoubles API by means a wrapper. See pyDoubles for details.
In most cases the only required change in your code is the
import sentence, that change from:
from doublex.pyDoubles import *