Doublex

Latest version: v1.9.6.1

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

Scan your dependencies

Page 1 of 2

1.9.6

- Drop support for Python 3.5 and earlier
- Allow using called().with_some_args() with type-hinted arguments
- Fix deprecation warnings
- Mock support for classmethods on instances
- Fix namedtuple support for python 3.8 and newer
- Fix issue with property stubbing using when() leaving stubs in setting up state
- Allow making Mimics of Generic sub-classes

20190405
========

1.9.2

- async() matcher is available as async_mode() for python3.7 and newer


20141126
========

1.8.2

- Bug fixed: https://bitbucket.org/DavidVilla/python-doublex/issue/22
- returns_input() may return several parameters, fixes
- delegates() accepts dictionaries.
- method_returning() and method_raising() are now spies:
https://bitbucket.org/DavidVilla/python-doublex/issue/21


20140107
========

1.8.1

- PyHamcrest must be a requirement. Thanks to Javier Santacruz and Guillermo Pascual
https://bitbucket.org/DavidVilla/python-doublex/pull-request/7
https://bitbucket.org/DavidVilla/python-doublex/issue/18

20140101
========

1.8a

- [NEW] inline stubbing and mocking functions: when, expect_call (merge with feature-inline-stubbing)
- [NEW] Testing Python 2.6, 2.7, 3.2 and 3.3 using tox
- [NEW] Add AttributeFactory type: wrapper_descriptor for builtin method (such as list.__setitem__)

20131227
========

- [NEW] Double methods copy original __name__ attribute
- [NEW] Mock support for properties

20131107
========

1.7.2

- [NEW] support for varargs (*args, **kargs) methods
- [NEW] tracer for doubles, methods and properties

20130712
========

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.